Computer vision solutions ยท 10โ€“15%

Image & video generation

~2 min read

Image generation

An image-generation model creates original images from a text description โ€” it generates, it doesn’t search a catalog.

Video generation โ€” Sora 2

Sora 2 is OpenAI’s video-generation model in Foundry: it creates video (with audio) from a text prompt, a reference image, or by remixing an existing video.

FactValue
Modelssora-2, sora-2-pro
Sizes1280ร—720 landscape, 720ร—1280 portrait
Duration4, 8, 12 s (default 4)
Reference image (input_reference)JPEG/PNG/WebP, resolution must match video size, no human faces
Remix (remix_video_id)Modify existing video, preserve structure โ€” one focused change
AudioSupported in output
Rate limit2 concurrent jobs
Download window24 h after completion

Async pattern โ€” generation takes minutes, so the API works in three steps:

  1. Start the job with videos.create().
  2. Poll videos.retrieve(id) until the status leaves queued/in_progress.
  3. Download the result with videos.download_content(id, variant="video").

Possible states: queued, in_progress, completed, failed, cancelled.

Prompting videos

Describe the shot like a storyboard, in this order: camera framing, then subject detail, then the action in beats, then lighting and palette, then style. Specific beats (“takes four steps, pauses”) beat vague verbs. Shorter clips follow instructions better โ€” stitch two 4s clips over one 8s.

A harmful prompt returns no video (content moderation filter). A reference image containing a human face gets rejected.