Remix video
POST https://api.fastapi.ai/v1/videos/{video_id}/remix
Create a remix of a completed video using a refreshed prompt.
Path parameters
video_id string Required
The identifier of the completed video to remix.
Request body
prompt string Required
Updated text prompt that directs the remix generation.
Returns
Creates a remix of the specified video job using the provided prompt.
Example
Request
bash
curl -X POST https://api.fastapi.ai/v1/videos/video_123/remix \
-H "Authorization: Bearer $FAST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Extend the scene with the cat taking a bow to the cheering audience"
}'Response
bash
{
"id": "video_456",
"object": "video",
"model": "sora-2",
"status": "queued",
"progress": 0,
"created_at": 1712698600,
"size": "720x1280",
"seconds": "8",
"remixed_from_video_id": "video_123"
}