Skip to content

Commit 7391b14

Browse files
committed
chore: update generation prompt for car promotional image in carsResourseTemplate
1 parent 68f882a commit 7391b14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-demo/resources/carsResourseTemplate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export default function carsResourseTemplate(resourceId: string, dataSource: str
257257
openAiApiKey: process.env.OPENAI_API_KEY as string,
258258
model: 'gpt-image-1',
259259
}),
260-
fieldsForContext: ['description', 'model', 'color', 'body_type', 'engine_type'],
260+
generationPrompt: "Generate a high-quality promotional image for a car with model {{model}} and color {{color}}. The car is a {{body_type}} type. The image should be vibrant and eye-catching, suitable for advertising purposes.",
261261
outputSize: '1536x1024'
262262
}
263263
}),

0 commit comments

Comments
 (0)