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: off 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. For lyrics-to-video, a description of the song to write (10 to 500 characters). For song-ad, the ad to write: the product or its page, the audience and the outcome. For character-swap, optional instructions on top of the swap (an outfit, ...).

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").