Skip to content

Commit d0a1390

Browse files
feat: re-re-gen 3 alibaba/wan-2-6
1 parent 301d2be commit d0a1390

4 files changed

Lines changed: 20 additions & 20 deletions

File tree

docs/api-references/video-models/Alibaba-Cloud/wan2.6-i2v.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"model": {
2424
"type": "string",
2525
"enum": [
26-
"alibaba/wan2.6-i2v"
26+
"alibaba/wan-2-6-i2v"
2727
]
2828
},
2929
"prompt": {
@@ -92,7 +92,7 @@
9292
"prompt",
9393
"image_url"
9494
],
95-
"title": "alibaba/wan2.6-i2v"
95+
"title": "alibaba/wan-2-6-i2v"
9696
}
9797
}
9898
}
@@ -187,19 +187,19 @@
187187
"x-codeSamples": [
188188
{
189189
"lang": "JavaScript",
190-
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v2/video/generations', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n \"model\": \"alibaba/wan2-6-i2v\",\n \"prompt\": \"Mona Lisa puts on glasses with her hands.\",\n \"image_url\": \"https://s2-111386.kwimgs.com/bs2/mmu-aiplatform-temp/kling/20240620/1.jpeg\"\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
190+
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v2/video/generations', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n \"model\": \"alibaba/wan-2-6-i2v\",\n \"prompt\": \"Mona Lisa puts on glasses with her hands.\",\n \"image_url\": \"https://s2-111386.kwimgs.com/bs2/mmu-aiplatform-temp/kling/20240620/1.jpeg\"\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
191191
},
192192
{
193193
"lang": "Python",
194-
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v2/video/generations\",\n headers={\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\": \"alibaba/wan2-6-i2v\",\n \"prompt\": \"Mona Lisa puts on glasses with her hands.\",\n \"image_url\": \"https://s2-111386.kwimgs.com/bs2/mmu-aiplatform-temp/kling/20240620/1.jpeg\"\n }\n)\n\ndata = response.json()\nprint(data)"
194+
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v2/video/generations\",\n headers={\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\": \"alibaba/wan-2-6-i2v\",\n \"prompt\": \"Mona Lisa puts on glasses with her hands.\",\n \"image_url\": \"https://s2-111386.kwimgs.com/bs2/mmu-aiplatform-temp/kling/20240620/1.jpeg\"\n }\n)\n\ndata = response.json()\nprint(data)"
195195
},
196196
{
197197
"lang": "cURL",
198-
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v2/video/generations' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"alibaba/wan2-6-i2v\",\n \"prompt\": \"Mona Lisa puts on glasses with her hands.\",\n \"image_url\": \"https://s2-111386.kwimgs.com/bs2/mmu-aiplatform-temp/kling/20240620/1.jpeg\"\n }'"
198+
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v2/video/generations' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"alibaba/wan-2-6-i2v\",\n \"prompt\": \"Mona Lisa puts on glasses with her hands.\",\n \"image_url\": \"https://s2-111386.kwimgs.com/bs2/mmu-aiplatform-temp/kling/20240620/1.jpeg\"\n }'"
199199
},
200200
{
201201
"lang": "HTTP",
202-
"source": "POST /v2/video/generations HTTP/1.1\nHost: api.aimlapi.com\nAuthorization: Bearer <YOUR_AIMLAPI_KEY>\nContent-Type: application/json\nAccept: */*\n\n{\n \"model\": \"alibaba/wan2-6-i2v\",\n \"prompt\": \"Mona Lisa puts on glasses with her hands.\",\n \"image_url\": \"https://s2-111386.kwimgs.com/bs2/mmu-aiplatform-temp/kling/20240620/1.jpeg\"\n}"
202+
"source": "POST /v2/video/generations HTTP/1.1\nHost: api.aimlapi.com\nAuthorization: Bearer <YOUR_AIMLAPI_KEY>\nContent-Type: application/json\nAccept: */*\n\n{\n \"model\": \"alibaba/wan-2-6-i2v\",\n \"prompt\": \"Mona Lisa puts on glasses with her hands.\",\n \"image_url\": \"https://s2-111386.kwimgs.com/bs2/mmu-aiplatform-temp/kling/20240620/1.jpeg\"\n}"
203203
}
204204
]
205205
}

docs/api-references/video-models/Alibaba-Cloud/wan2.6-r2v.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"model": {
2424
"type": "string",
2525
"enum": [
26-
"alibaba/wan2.6-r2v"
26+
"alibaba/wan-2-6-r2v"
2727
]
2828
},
2929
"prompt": {
@@ -99,7 +99,7 @@
9999
"prompt",
100100
"video_urls"
101101
],
102-
"title": "alibaba/wan2.6-r2v"
102+
"title": "alibaba/wan-2-6-r2v"
103103
}
104104
}
105105
}

docs/api-references/video-models/Alibaba-Cloud/wan2.6-t2v.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"model": {
2424
"type": "string",
2525
"enum": [
26-
"alibaba/wan2.6-t2v"
26+
"alibaba/wan-2-6-t2v"
2727
]
2828
},
2929
"prompt": {
@@ -98,7 +98,7 @@
9898
"model",
9999
"prompt"
100100
],
101-
"title": "alibaba/wan2.6-t2v"
101+
"title": "alibaba/wan-2-6-t2v"
102102
}
103103
}
104104
}
@@ -193,19 +193,19 @@
193193
"x-codeSamples": [
194194
{
195195
"lang": "JavaScript",
196-
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v2/video/generations', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n \"model\": \"alibaba/wan2-6-t2v\",\n \"prompt\": \"A menacing evil dragon appears in a distance above the tallest mountain, then rushes toward the camera with its jaws open, revealing massive fangs. We see it’s coming.\"\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
196+
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v2/video/generations', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n \"model\": \"alibaba/wan-2-6-t2v\",\n \"prompt\": \"A menacing evil dragon appears in a distance above the tallest mountain, then rushes toward the camera with its jaws open, revealing massive fangs. We see it’s coming.\"\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
197197
},
198198
{
199199
"lang": "Python",
200-
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v2/video/generations\",\n headers={\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\": \"alibaba/wan2-6-t2v\",\n \"prompt\": \"A menacing evil dragon appears in a distance above the tallest mountain, then rushes toward the camera with its jaws open, revealing massive fangs. We see it’s coming.\"\n }\n)\n\ndata = response.json()\nprint(data)"
200+
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v2/video/generations\",\n headers={\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\": \"alibaba/wan-2-6-t2v\",\n \"prompt\": \"A menacing evil dragon appears in a distance above the tallest mountain, then rushes toward the camera with its jaws open, revealing massive fangs. We see it’s coming.\"\n }\n)\n\ndata = response.json()\nprint(data)"
201201
},
202202
{
203203
"lang": "cURL",
204-
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v2/video/generations' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"alibaba/wan2-6-t2v\",\n \"prompt\": \"A menacing evil dragon appears in a distance above the tallest mountain, then rushes toward the camera with its jaws open, revealing massive fangs. We see it’s coming.\"\n }'"
204+
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v2/video/generations' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"alibaba/wan-2-6-t2v\",\n \"prompt\": \"A menacing evil dragon appears in a distance above the tallest mountain, then rushes toward the camera with its jaws open, revealing massive fangs. We see it’s coming.\"\n }'"
205205
},
206206
{
207207
"lang": "HTTP",
208-
"source": "POST /v2/video/generations HTTP/1.1\nHost: api.aimlapi.com\nAuthorization: Bearer <YOUR_AIMLAPI_KEY>\nContent-Type: application/json\nAccept: */*\n\n{\n \"model\": \"alibaba/wan2-6-t2v\",\n \"prompt\": \"A menacing evil dragon appears in a distance above the tallest mountain, then rushes toward the camera with its jaws open, revealing massive fangs. We see it’s coming.\"\n}"
208+
"source": "POST /v2/video/generations HTTP/1.1\nHost: api.aimlapi.com\nAuthorization: Bearer <YOUR_AIMLAPI_KEY>\nContent-Type: application/json\nAccept: */*\n\n{\n \"model\": \"alibaba/wan-2-6-t2v\",\n \"prompt\": \"A menacing evil dragon appears in a distance above the tallest mountain, then rushes toward the camera with its jaws open, revealing massive fangs. We see it’s coming.\"\n}"
209209
}
210210
]
211211
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
[
22
{
3-
"name": "alibaba/wan2-6-t2v",
3+
"name": "alibaba/wan-2-6-t2v",
44
"alias": "wan2.6-t2v",
55
"category": "video-models",
66
"vendor": "Alibaba Cloud",
7-
"url": "https://ai.aimlapi.com/docs-json?endpoint=internal/video-generations/submit&model=alibaba/wan2.6-t2v",
7+
"url": "https://ai.aimlapi.com/docs-json?endpoint=internal/video-generations/submit&model=alibaba/wan-2-6-t2v",
88
"codeSamples": "video:video"
99
},
1010
{
11-
"name": "alibaba/wan2-6-i2v",
11+
"name": "alibaba/wan-2-6-i2v",
1212
"alias": "wan2.6-i2v",
1313
"category": "video-models",
1414
"vendor": "Alibaba Cloud",
15-
"url": "https://ai.aimlapi.com/docs-json?endpoint=internal/video-generations/submit&model=alibaba/wan2.6-i2v",
15+
"url": "https://ai.aimlapi.com/docs-json?endpoint=internal/video-generations/submit&model=alibaba/wan-2-6-i2v",
1616
"codeSamples": "video:video"
1717
},
1818
{
19-
"name": "alibaba/wan2-6-r2v",
19+
"name": "alibaba/wan-2-6-r2v",
2020
"alias": "wan2.6-r2v",
2121
"category": "video-models",
2222
"vendor": "Alibaba Cloud",
23-
"url": "https://ai.aimlapi.com/docs-json?endpoint=internal/video-generations/submit&model=alibaba/wan2.6-r2v",
23+
"url": "https://ai.aimlapi.com/docs-json?endpoint=internal/video-generations/submit&model=alibaba/wan-2-6-r2v",
2424
"codeSamples": "video:video"
2525
}
2626
]

0 commit comments

Comments
 (0)