Remix video
Call Create video first and replace video_123 with its ID; poll until completed before downloading.
POST
/openai/v1/videos/{video_id}/remix○ UnsupportedRequest parameters
video_idstringrequiredpath: Id of the video job whose output you want, the
idreturned by createVideo. The job must be completed; before that the call answers 400.
Returns
400 Remixing is not supported. Do not retry.
Unsupported; the call always returns 400 (invalid_request_error, message "Video remix is not supported"). Do not retry.
Errors follow the OpenAI format — see error codes
Request
curl
# Call Create video first and replace video_123 with its ID; poll until completed before downloading.
curl https://api.deepraxis.com/openai/v1/videos/video_123/remix \
-H "Authorization: Bearer $PRAXIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"Make it a night scene"}'Python
# Call Create video first and replace video_123 with its ID; poll until completed before downloading.
from openai import OpenAI
client = OpenAI(
base_url="https://api.deepraxis.com/openai/v1",
api_key="$PRAXIS_API_KEY",
)
video = client.videos.remix(
"video_123",
prompt="Make it a night scene",
)TypeScript
// Call Create video first and replace video_123 with its ID; poll until completed before downloading.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.deepraxis.com/openai/v1",
apiKey: "$PRAXIS_API_KEY",
});
const video = await client.videos.remix("video_123", {
prompt: "Make it a night scene",
});Response 400
{
"error": {
"message": "Video remix is not supported",
"type": "invalid_request_error",
"param": null,
"code": "validation_error"
}
}Response
This endpoint does not declare a successful response.