> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pornfactoryai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a video

> Submit text-to-video and generated-library image-to-video requests.

Use `text_to_video` for prompt-only generation or `image_to_video` with an
owner-scoped `source_creation_id` from the generated image library.

```json theme={"system"}
{
  "mode": "image_to_video",
  "prompt": "A slow cinematic camera move with natural motion",
  "source_creation_id": "67d41fe0-2b3e-4f47-a0a1-42c4ea1c1af5",
  "seed_mode": "random",
  "checkpoint": {
    "model_id": "mdl_...",
    "version_id": "ver_..."
  },
  "loras": [],
  "duration_seconds": 5,
  "quality": "medium",
  "fps": 30,
  "audio_enabled": false
}
```

If audio is enabled, use `audio_prompt` to describe the intended sound. Query
the model catalog with the exact video mode before submitting. It returns only
the selections currently available for that workflow.

<Tip>
  Video generation can take longer than image generation. Prefer signed
  webhooks for production workflows and retain polling as a recovery path.
</Tip>
