{"tool_key":"video","description":"Generate a video from a text prompt and/or reference files (image-to-video, video-to-video, lipsync, upscale).","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"model":{"type":"string","minLength":1},"prompt":{"type":"string","maxLength":20000},"aspect_ratio":{"type":"string"},"files":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"media_type":{"type":"string"}},"required":["url"],"additionalProperties":false}},"options":{"type":"object","properties":{"webhook_url":{"type":"string","format":"uri"},"cache":{"type":"boolean"}},"additionalProperties":{}},"resolution":{"description":"Quality tier. Not supported by this model — ignored if sent.","type":"string","enum":["480p","720p","1080p","4k"]},"audio":{"description":"Native audio track request. Not supported by this model — ignored if sent.","type":"boolean"},"duration":{"description":"Length in seconds. Not mapped by this model — ignored if sent.","anyOf":[{"type":"number","minimum":1,"maximum":120},{"type":"string"}]},"provider_options":{"type":"object","properties":{"heygen":{"type":"object","properties":{"type":{"type":"string","enum":["avatar","image"]},"image":{"type":"object","properties":{"url":{"type":"string"},"type":{"type":"string","enum":["url","asset_id"]},"asset_id":{"type":"string"}},"additionalProperties":false},"script":{"type":"string"},"voice_id":{"type":"string"},"audio_url":{"type":"string"},"avatar_id":{"type":"string"},"resolution":{"type":"string"},"callback_id":{"type":"string"},"aspect_ratio":{"type":"string"},"callback_url":{"type":"string"},"motion_prompt":{"type":"string"},"expressiveness":{"type":"string","enum":["low","medium","high"]}},"additionalProperties":false}},"additionalProperties":false}},"required":["model"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"version":{"type":"string","const":"v1"},"outputs":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"file_id":{"type":"string"},"media_type":{"type":"string"},"size_bytes":{"type":"number"},"raw":{}},"required":["url"],"additionalProperties":false}}},"required":["version","outputs"],"additionalProperties":false},"example":{"input":{"model":"kling-v3","prompt":"a cat jumping over a fence, cinematic","aspect_ratio":"16:9","duration":5},"output":{"version":"v1","outputs":[{"url":"https://s3.varg.ai/o/job_abc123.mp4","media_type":"video/mp4","size_bytes":52428800}]}}}