videos 端点,但为了方便区分,我们提供了两种截然不同的格式:sora-2-all - 支持视频时长:10 或 15 秒(最长 15 秒)sora-2-pro-all - 支持视频时长:10、15 或 25 秒(最长 25 秒)-all 后缀的模型在 seconds 参数上仅支持特定的时长数值:sora-2-all:仅支持 10 或 15 秒(不支持 25 秒) 固定按次 $0.1 计费sora-2-pro-all:10、15 或 25 秒 固定按次 $1 计费sora-2-pro-all 模型且 seconds=25 时,有较大几率无法输出请求的 1024x1792 或 1792x1024 分辨率,而是返回较低的 720x1280 或 1280x720 分辨率结果。如需确保高分辨率输出,建议使用 10 或 15 秒时长。character_url 和 character_timestamps 参数,可以在生成的视频中保持角色的一致性。character_url string optionalcharacter_timestamps string optional{start},{end}(单位:秒)。"1,8" 表示从视频的第 1 秒到第 8 秒提取角色特征。Shot 1:\nduration: 7.5sec\nScene: 飞机起飞\n\nShot 2:\nduration: 7.5sec\nScene: 飞机降落Shot N: 开头(N 为镜头编号)duration: Xsec 指定镜头时长Scene: 描述镜头内容curl --location --request POST 'https://api.deerapi.com/v1/videos' \
--header 'Authorization: ' \
--form 'prompt="cat"' \
--form 'model="sora-2-pro-all"' \
--form 'size="1280x720"' \
--form 'seconds="15"' \
--form 'input_reference=@""' \
--form 'character_url="https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4"' \
--form 'character_timestamps="1,3"'{
"id": "video_68e688d4950481918ec389280c2f78140fcb904657674466",
"object": "video",
"created_at": 1759938772,
"status": "queued",
"completed_at": null,
"error": null,
"expires_at": null,
"model": "sora-2",
"progress": 0,
"remixed_from_video_id": null,
"seconds": "4",
"size": "720x1280"
}