4.Create Character(taskCreate --Create )
curl --request POST \
--url https://api.maxapi.ai/v1/videos \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "sora-2-character",
"url": "https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4",
"timestamps": "1,3"
}
'import requests
url = "https://api.maxapi.ai/v1/videos"
payload = {
"model": "sora-2-character",
"url": "https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4",
"timestamps": "1,3"
}
headers = {
"Authorization": "<authorization>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<authorization>', 'Content-Type': 'application/json'},
body: JSON.stringify({
model: 'sora-2-character',
url: 'https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4',
timestamps: '1,3'
})
};
fetch('https://api.maxapi.ai/v1/videos', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/v1/videos"
payload := strings.NewReader("{\n \"model\": \"sora-2-character\",\n \"url\": \"https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4\",\n \"timestamps\": \"1,3\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<authorization>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.maxapi.ai/v1/videos")
.header("Authorization", "<authorization>")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"sora-2-character\",\n \"url\": \"https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4\",\n \"timestamps\": \"1,3\"\n}")
.asString();{
"id": "char_2f7a568b-4541-41b6-b491-35e8c17a493d",
"object": "character",
"model": "sora-2-character",
"status": "queued",
"progress": 0,
"username": null,
"avatar_url": null,
"video_url": null,
"created_at": 1766681833,
"completed_at": null,
"expires_at": null,
"size": null,
"seconds": null,
"remixed_from_video_id": null,
"error": null
}4.Create Character(taskCreate --Create )
Use this endpoint to call the provider-compatible 4.create character(taskcreate —create ) operation through MaxAPI.
POST
https://api.maxapi.ai
/
v1
/
videos
4.Create Character(taskCreate --Create )
curl --request POST \
--url https://api.maxapi.ai/v1/videos \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "sora-2-character",
"url": "https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4",
"timestamps": "1,3"
}
'import requests
url = "https://api.maxapi.ai/v1/videos"
payload = {
"model": "sora-2-character",
"url": "https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4",
"timestamps": "1,3"
}
headers = {
"Authorization": "<authorization>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<authorization>', 'Content-Type': 'application/json'},
body: JSON.stringify({
model: 'sora-2-character',
url: 'https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4',
timestamps: '1,3'
})
};
fetch('https://api.maxapi.ai/v1/videos', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/v1/videos"
payload := strings.NewReader("{\n \"model\": \"sora-2-character\",\n \"url\": \"https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4\",\n \"timestamps\": \"1,3\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<authorization>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.maxapi.ai/v1/videos")
.header("Authorization", "<authorization>")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"sora-2-character\",\n \"url\": \"https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4\",\n \"timestamps\": \"1,3\"\n}")
.asString();{
"id": "char_2f7a568b-4541-41b6-b491-35e8c17a493d",
"object": "character",
"model": "sora-2-character",
"status": "queued",
"progress": 0,
"username": null,
"avatar_url": null,
"video_url": null,
"created_at": 1766681833,
"completed_at": null,
"expires_at": null,
"size": null,
"seconds": null,
"remixed_from_video_id": null,
"error": null
}Headers
用户个人中心获取的密钥
Body
application/json
Response
200 - application/json
Request succeeded.
任务id
模型名
任务状态
任务进度
角色名
角色头像
视频
创建时间
完成时间
过期时间
分辨率
时长
remix的视频id
错误信息