API docs/workflows/ad-generator

Ad generator

Generate a product ad from a prompt and/or product images.

Requiressource.prompt or media.provided[]
media: moving-imagevoice-over: on by defaultmusic: on by defaultcaptions: on by defaultratio: 9:16 by default

Build your request

Only the parameters that apply to ad-generator are shown. Set values on the left, copy the payload on the right.

View as Markdown (for LLMs)
source.promptrequired

What the video should be about: the AI writes the script. For music-to-video it is an optional creative brief for the visual storyline.

source.stylePrompt

Visual style instructions, separate from the content prompt (e.g. "dark mood", "pastel watercolor").

source.durationSeconds

Hint for the script length the AI writes, in seconds.

{
  "workflow": "ad-generator",
  "source": {
    "prompt": "A punchy 20-second ad for a smart water bottle that tracks hydration"
  }
}
Free, no API key needed.

Good to know

  • Provide product images in media.provided[]: the generation reuses them as visual anchors.
  • Tune length with options.promptTargetDuration (seconds or "auto").