/creatives/generate
Generates a creative from a brief — a still image, or a multi-slide carousel with type: carousel.
This is the other way to make a creative — /creatives/upload is the one where you supply the media.
It answers before the work is done. Composing a creative is an LLM pipeline that runs for minutes, far longer than a request should wait, so you get a generation to poll at /creatives/generations/{generation_id}. The creative_id is usable immediately: the creative exists from the start, empty, and fills in when the generation succeeds.
Naming product_ids builds the creative around those catalogue products, using their images and fields. Without them the composer works from the brief alone.
Generation consumes the workspace's credits, so this can fail on billing as well as on input.
Requires the creatives:write scope.
Request
- Base URL: https://api.productbyte.com/v1
- URL: https://api.productbyte.com/v1/projects/{project_id}/creatives/generate
- Auth: HTTP bearer
Path parameters
The project to create the creative in.
Request body
Response
The generation was queued. Poll it to learn the outcome.
Changes
No recorded changes to this operation across all 2 revisions of this API.