sora_generate_video_v2_async
Generate AI videos asynchronously; submit request with callback URL to receive result when generation completes.
Instructions
Generate an AI video asynchronously using Sora Version 2 with callback.
Similar to sora_generate_video_v2 but returns immediately with a task ID.
The result will be POSTed to your callback URL when generation completes.
Use this when:
- You don't want to wait for the generation to complete
- You have a webhook endpoint to receive results
- You're integrating with an async workflow
Returns:
Task ID that you can use to correlate with the callback.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the video to generate. | |
| callback_url | Yes | URL to receive the callback when video generation is complete. The result will be POSTed to this URL as JSON. | |
| model | No | Sora model version. | sora-2 |
| duration | No | Video duration in seconds. Options: 4, 8, or 12. | |
| size | No | Video resolution in pixels. | 1280x720 |
| image_urls | No | Optional list of reference image URLs. Only the first image is used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |