Actions10
- Generative Content Actions
- Library Actions
- Task Actions
Generative Content → Generate Product Shots
AI-generatedSummary
Generate clean, studio-style product shots using AI by providing front and optional back product image URLs along with selected shot types and output specifications.
Inputs
- Authentication (required) — Choose either API Key or OAuth2 to authenticate with the Dreem API.
- Shot Names or IDs (required) — Select one or more shot types to generate from the predefined list or specify via expression.
- Front Image URL (required) — Specify the URL of the front product image to be used for generation.
- Back Image URL — Optionally specify the URL of the back product image.
- Output Format (required) — Choose the output image file format, either JPEG or PNG.
- Output Aspect Ratio (required) — Select the aspect ratio for the generated images (e.g., 1:1, 16:9, 3:4, etc.).
- Webhook URL — Optionally provide a webhook URL to receive generation results asynchronously; required by the API.
Output shape
a list of JSON objects representing generation task responses, each paired with the input item index
Each generated response includes data returned from the Dreem API about the requested product shots. Webhook callbacks may deliver further asynchronous results.
Examples
Example 1: Generate product shots with front and back images
Authenticate with OAuth2; select desired shot types; provide frontImageUrl and backImageUrl; specify PNG output and 3:4 aspect ratio; optionally set a webhook URL to receive results.