欢迎访问 n1n 在线文档!平台充值汇率 1:1 即 1 人民币充值到账 1 美元,支持一个 Key 调用近 600+ 海内外模型,限时特价模型低至 1 折,欢迎上岸!
sora-2 模型接入的是官方的是按秒计费,调用格式只支持 OpenAI 官方格式,分组用 优质官转OpenAI分组稳定,上传的图片的大小需要严格按照官方的(720x1280、1280x720);如果使用之前其他渠道的 sora,模型名称则需要改为 sora-2-all,格式使用 OpenAI 官方格式,其分组请参考模型广场中此模型的介绍页面。Authorization: Bearer ********************{
"images": [
"https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
],
"model": "sora-2",
"orientation": "portrait",
"prompt": "make animate",
"size": "large",
"duration": 8,
"watermark": false
}curl --location --request POST 'https://api.n1n.ai/v1/video/create' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"images": [
"https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
],
"model": "sora-2",
"orientation": "portrait",
"prompt": "make animate",
"size": "large",
"duration": 8,
"watermark": false
}'{
"id": "sora-2:task_01k6x15vhrff09dkkqjrzwhm60",
"status": "pending",
"status_update_time": 1759763427208
}