curl --request POST \
--url 'https://ark.oairoute.com/v1/videos' \
--header 'Authorization: Bearer YOUR_ARK_KEY' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedance-2.5",
"prompt": "海面日落,镜头缓慢前推",
"seconds": "5",
"metadata": {
"ratio": "16:9",
"resolution": "1080p"
}
}'
import requests
url = "https://ark.oairoute.com/v1/videos"
headers = {
"Authorization": "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
}
payload = {
"model": "seedance-2.5",
"prompt": "海面日落,镜头缓慢前推",
"seconds": "5",
"metadata": {
"ratio": "16:9",
"resolution": "1080p"
}
}
res = requests.post(url, headers=headers, json=payload)
print(res.json())
const res = await fetch("https://ark.oairoute.com/v1/videos", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "seedance-2.5",
"prompt": "海面日落,镜头缓慢前推",
"seconds": "5",
"metadata": {
"ratio": "16:9",
"resolution": "1080p"
}
}),
});
console.log(await res.json());
curl --request POST \
--url 'https://ark.oairoute.com/v1/videos' \
--header 'Authorization: Bearer YOUR_ARK_KEY' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedance-2.5",
"prompt": "女孩睁开眼,温柔地看向镜头",
"image": "https://example.com/first.png",
"seconds": "5",
"metadata": {
"ratio": "adaptive",
"resolution": "1080p"
}
}'
import requests
url = "https://ark.oairoute.com/v1/videos"
headers = {
"Authorization": "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
}
payload = {
"model": "seedance-2.5",
"prompt": "女孩睁开眼,温柔地看向镜头",
"image": "https://example.com/first.png",
"seconds": "5",
"metadata": {
"ratio": "adaptive",
"resolution": "1080p"
}
}
res = requests.post(url, headers=headers, json=payload)
print(res.json())
const res = await fetch("https://ark.oairoute.com/v1/videos", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "seedance-2.5",
"prompt": "女孩睁开眼,温柔地看向镜头",
"image": "https://example.com/first.png",
"seconds": "5",
"metadata": {
"ratio": "adaptive",
"resolution": "1080p"
}
}),
});
console.log(await res.json());
curl --request POST \
--url 'https://ark.oairoute.com/v1/videos' \
--header 'Authorization: Bearer YOUR_ARK_KEY' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedance-2.5",
"prompt": "让人物从站立缓缓转身",
"seconds": "5",
"metadata": {
"ratio": "adaptive",
"resolution": "1080p",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://example.com/first.png"
},
"role": "first_frame"
},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/last.png"
},
"role": "last_frame"
}
]
}
}'
import requests
url = "https://ark.oairoute.com/v1/videos"
headers = {
"Authorization": "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
}
payload = {
"model": "seedance-2.5",
"prompt": "让人物从站立缓缓转身",
"seconds": "5",
"metadata": {
"ratio": "adaptive",
"resolution": "1080p",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://example.com/first.png"
},
"role": "first_frame"
},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/last.png"
},
"role": "last_frame"
}
]
}
}
res = requests.post(url, headers=headers, json=payload)
print(res.json())
const res = await fetch("https://ark.oairoute.com/v1/videos", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "seedance-2.5",
"prompt": "让人物从站立缓缓转身",
"seconds": "5",
"metadata": {
"ratio": "adaptive",
"resolution": "1080p",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://example.com/first.png"
},
"role": "first_frame"
},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/last.png"
},
"role": "last_frame"
}
]
}
}),
});
console.log(await res.json());
curl --request POST \
--url 'https://ark.oairoute.com/v1/videos' \
--header 'Authorization: Bearer YOUR_ARK_KEY' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedance-2.5",
"prompt": "@图片1 的人物在海边行走,镜头跟随",
"seconds": "8",
"metadata": {
"ratio": "16:9",
"resolution": "1080p",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://example.com/ref.png"
},
"role": "reference_image"
}
]
}
}'
import requests
url = "https://ark.oairoute.com/v1/videos"
headers = {
"Authorization": "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
}
payload = {
"model": "seedance-2.5",
"prompt": "@图片1 的人物在海边行走,镜头跟随",
"seconds": "8",
"metadata": {
"ratio": "16:9",
"resolution": "1080p",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://example.com/ref.png"
},
"role": "reference_image"
}
]
}
}
res = requests.post(url, headers=headers, json=payload)
print(res.json())
const res = await fetch("https://ark.oairoute.com/v1/videos", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "seedance-2.5",
"prompt": "@图片1 的人物在海边行走,镜头跟随",
"seconds": "8",
"metadata": {
"ratio": "16:9",
"resolution": "1080p",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://example.com/ref.png"
},
"role": "reference_image"
}
]
}
}),
});
console.log(await res.json());
curl --request POST \
--url 'https://ark.oairoute.com/v1/videos' \
--header 'Authorization: Bearer YOUR_ARK_KEY' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedance-2.5",
"prompt": "参考 @视频1 的运镜节奏,生成一段城市夜景",
"seconds": "11",
"metadata": {
"ratio": "16:9",
"resolution": "1080p",
"omni_reference_task_type": "reference",
"content": [
{
"type": "video_url",
"video_url": {
"url": "https://example.com/ref.mp4"
},
"role": "reference_video"
}
]
}
}'
import requests
url = "https://ark.oairoute.com/v1/videos"
headers = {
"Authorization": "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
}
payload = {
"model": "seedance-2.5",
"prompt": "参考 @视频1 的运镜节奏,生成一段城市夜景",
"seconds": "11",
"metadata": {
"ratio": "16:9",
"resolution": "1080p",
"omni_reference_task_type": "reference",
"content": [
{
"type": "video_url",
"video_url": {
"url": "https://example.com/ref.mp4"
},
"role": "reference_video"
}
]
}
}
res = requests.post(url, headers=headers, json=payload)
print(res.json())
const res = await fetch("https://ark.oairoute.com/v1/videos", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "seedance-2.5",
"prompt": "参考 @视频1 的运镜节奏,生成一段城市夜景",
"seconds": "11",
"metadata": {
"ratio": "16:9",
"resolution": "1080p",
"omni_reference_task_type": "reference",
"content": [
{
"type": "video_url",
"video_url": {
"url": "https://example.com/ref.mp4"
},
"role": "reference_video"
}
]
}
}),
});
console.log(await res.json());
curl --request POST \
--url 'https://ark.oairoute.com/v1/videos' \
--header 'Authorization: Bearer YOUR_ARK_KEY' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedance-2.5",
"prompt": "视频编辑:删除 @视频1 中的行人,只保留主角",
"seconds": "-1",
"metadata": {
"ratio": "adaptive",
"resolution": "1080p",
"omni_reference_task_type": "edit",
"output_format": "mov",
"content": [
{
"type": "video_url",
"video_url": {
"url": "https://example.com/source.mp4"
},
"role": "reference_video"
}
]
}
}'
import requests
url = "https://ark.oairoute.com/v1/videos"
headers = {
"Authorization": "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
}
payload = {
"model": "seedance-2.5",
"prompt": "视频编辑:删除 @视频1 中的行人,只保留主角",
"seconds": "-1",
"metadata": {
"ratio": "adaptive",
"resolution": "1080p",
"omni_reference_task_type": "edit",
"output_format": "mov",
"content": [
{
"type": "video_url",
"video_url": {
"url": "https://example.com/source.mp4"
},
"role": "reference_video"
}
]
}
}
res = requests.post(url, headers=headers, json=payload)
print(res.json())
const res = await fetch("https://ark.oairoute.com/v1/videos", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "seedance-2.5",
"prompt": "视频编辑:删除 @视频1 中的行人,只保留主角",
"seconds": "-1",
"metadata": {
"ratio": "adaptive",
"resolution": "1080p",
"omni_reference_task_type": "edit",
"output_format": "mov",
"content": [
{
"type": "video_url",
"video_url": {
"url": "https://example.com/source.mp4"
},
"role": "reference_video"
}
]
}
}),
});
console.log(await res.json());
curl --request POST \
--url 'https://ark.oairoute.com/v1/videos' \
--header 'Authorization: Bearer YOUR_ARK_KEY' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedance-2.5",
"prompt": "延长 @视频1,镜头继续向前推进,进入室内",
"seconds": "11",
"metadata": {
"ratio": "adaptive",
"resolution": "1080p",
"omni_reference_task_type": "extend",
"output_format": "mov",
"content": [
{
"type": "video_url",
"video_url": {
"url": "https://example.com/source.mp4"
},
"role": "reference_video"
}
]
}
}'
import requests
url = "https://ark.oairoute.com/v1/videos"
headers = {
"Authorization": "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
}
payload = {
"model": "seedance-2.5",
"prompt": "延长 @视频1,镜头继续向前推进,进入室内",
"seconds": "11",
"metadata": {
"ratio": "adaptive",
"resolution": "1080p",
"omni_reference_task_type": "extend",
"output_format": "mov",
"content": [
{
"type": "video_url",
"video_url": {
"url": "https://example.com/source.mp4"
},
"role": "reference_video"
}
]
}
}
res = requests.post(url, headers=headers, json=payload)
print(res.json())
const res = await fetch("https://ark.oairoute.com/v1/videos", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_ARK_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "seedance-2.5",
"prompt": "延长 @视频1,镜头继续向前推进,进入室内",
"seconds": "11",
"metadata": {
"ratio": "adaptive",
"resolution": "1080p",
"omni_reference_task_type": "extend",
"output_format": "mov",
"content": [
{
"type": "video_url",
"video_url": {
"url": "https://example.com/source.mp4"
},
"role": "reference_video"
}
]
}
}),
});
console.log(await res.json());
curl --request POST \
--url 'https://ark.oairoute.com/v1/videos' \
--header 'Authorization: Bearer YOUR_OAIRoute_KEY' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedance-2.5",
"prompt": "森林晨雾,阳光穿过树梢",
"duration": 5,
"size": "1280x720"
}'
import requests
url = "https://ark.oairoute.com/v1/videos"
headers = {"Authorization": "Bearer YOUR_OAIRoute_KEY"}
payload = {
"model": "seedance-2.5",
"prompt": "森林晨雾,阳光穿过树梢",
"duration": 5,
"size": "1280x720"
}
res = requests.post(url, headers=headers, json=payload)
print(res.json())
const res = await fetch("https://ark.oairoute.com/v1/videos", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_OAIRoute_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "seedance-2.5",
"prompt": "森林晨雾,阳光穿过树梢",
"duration": 5,
"size": "1280x720"
}),
});
console.log(await res.json());
curl --request POST \
--url 'https://ark.oairoute.com/v1/videos' \
--header 'Authorization: Bearer YOUR_OAIRoute_KEY' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedance-2.5",
"prompt": "镜头缓慢后拉,露出全景",
"image": "https://example.com/scene.jpg",
"duration": 5
}'
import requests
url = "https://ark.oairoute.com/v1/videos"
headers = {"Authorization": "Bearer YOUR_OAIRoute_KEY"}
payload = {
"model": "seedance-2.5",
"prompt": "镜头缓慢后拉,露出全景",
"image": "https://example.com/scene.jpg",
"duration": 5
}
res = requests.post(url, headers=headers, json=payload)
print(res.json())
const res = await fetch("https://ark.oairoute.com/v1/videos", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_OAIRoute_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "seedance-2.5",
"prompt": "镜头缓慢后拉,露出全景",
"image": "https://example.com/scene.jpg",
"duration": 5
}),
});
console.log(await res.json());