We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2432ab5 commit 8ad2819Copy full SHA for 8ad2819
product-image-generator/app/trigger/generate-images.ts
@@ -74,7 +74,11 @@ export const generateImage = task({
74
// Generate image
75
await replicate.predictions.create({
76
model: "google/nano-banana",
77
- input: { prompt: enhancedPrompt, image_input: [baseImageUrl] },
+ input: {
78
+ prompt: enhancedPrompt,
79
+ image_input: [baseImageUrl],
80
+ aspect_ratio: "3:4",
81
+ },
82
// pass the provided URL to Replicate's webhook, so they can "callback"
83
webhook: token.url,
84
webhook_events_filter: ["completed"],
0 commit comments