Generate video
generate_videoGenerate a short cinematic marketing video using Sora-2. Returns a public video URL. Takes 1-2 minutes. ⚠️ EXPENSIVE (see CREDIT COSTS) — always confirm with the user before calling.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"topic": "<topic>"
},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | What the video is about (e.g. 'فيديو إعلاني لمنتج عطر فاخر', 'cinematic ad for a premium coffee brand') | |
| language | No | Language (default: arabic) | |
| aspect_ratio | No | Dimensions — portrait (9:16 for Reels/TikTok), landscape (16:9), square (1:1). Default: portrait | |
| extra_instructions | No | Mood, style, scene description (e.g. 'غروب الشمس، موسيقى هادئة، ألوان دافئة') |