创建角色
curl --request POST \
--url https://api.maxapi.ai/sora/v1/characters \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4",
"timestamps": "1,3"
}
'import requests
url = "https://api.maxapi.ai/sora/v1/characters"
payload = {
"url": "https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4",
"timestamps": "1,3"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4',
timestamps: '1,3'
})
};
fetch('https://api.maxapi.ai/sora/v1/characters', 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/sora/v1/characters"
payload := strings.NewReader("{\n \"url\": \"https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4\",\n \"timestamps\": \"1,3\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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/sora/v1/characters")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4\",\n \"timestamps\": \"1,3\"\n}")
.asString();{
"id": "string",
"username": "string",
"permalink": "string",
"profile_picture_url": "string"
}POST
https://api.maxapi.ai
/
sora
/
v1
/
characters
创建角色
curl --request POST \
--url https://api.maxapi.ai/sora/v1/characters \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4",
"timestamps": "1,3"
}
'import requests
url = "https://api.maxapi.ai/sora/v1/characters"
payload = {
"url": "https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4",
"timestamps": "1,3"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4',
timestamps: '1,3'
})
};
fetch('https://api.maxapi.ai/sora/v1/characters', 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/sora/v1/characters"
payload := strings.NewReader("{\n \"url\": \"https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4\",\n \"timestamps\": \"1,3\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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/sora/v1/characters")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4\",\n \"timestamps\": \"1,3\"\n}")
.asString();{
"id": "string",
"username": "string",
"permalink": "string",
"profile_picture_url": "string"
}