Update image generation model

This commit is contained in:
2024-12-10 20:26:25 +00:00
parent 9d916177a7
commit 4d9bf52a11

View File

@@ -39,7 +39,7 @@ export async function execute(
try { try {
// Create image generation prediction // Create image generation prediction
const prediction = await replicate.predictions.create({ const prediction = await replicate.predictions.create({
model: 'black-forest-labs/flux-schnell', model: 'black-forest-labs/flux-1.1-pro-ultra',
input: { prompt }, input: { prompt },
}); });