Veovideo
curl --request POST \
--url https://api.maxapi.ai/v2/videos/generations \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "string",
"model": "veo3"
}
'import requests
url = "https://api.maxapi.ai/v2/videos/generations"
payload = {
"prompt": "string",
"model": "veo3"
}
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({prompt: 'string', model: 'veo3'})
};
fetch('https://api.maxapi.ai/v2/videos/generations', 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/v2/videos/generations"
payload := strings.NewReader("{\n \"prompt\": \"string\",\n \"model\": \"veo3\"\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/v2/videos/generations")
.header("Content-Type", "application/json")
.body("{\n \"prompt\": \"string\",\n \"model\": \"veo3\"\n}")
.asString();{
"task_id": "cgt-20251026155900-jhkhc"
}Veovideo
Use this endpoint to call the provider-compatible veovideo operation through MaxAPI.
POST
https://api.maxapi.ai
/
v2
/
videos
/
generations
Veovideo
curl --request POST \
--url https://api.maxapi.ai/v2/videos/generations \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "string",
"model": "veo3"
}
'import requests
url = "https://api.maxapi.ai/v2/videos/generations"
payload = {
"prompt": "string",
"model": "veo3"
}
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({prompt: 'string', model: 'veo3'})
};
fetch('https://api.maxapi.ai/v2/videos/generations', 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/v2/videos/generations"
payload := strings.NewReader("{\n \"prompt\": \"string\",\n \"model\": \"veo3\"\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/v2/videos/generations")
.header("Content-Type", "application/json")
.body("{\n \"prompt\": \"string\",\n \"model\": \"veo3\"\n}")
.asString();{
"task_id": "cgt-20251026155900-jhkhc"
}Headers
Body
application/json
文本提示词(必填):支持中英文。建议不超过500字。字数过多信息容易分散,模型可能因此忽略细节,只关注重点,造成视频缺失部分元素
veo3 veo3-fast veo3-pro veo3-pro-frames 支持图生视频 veo2 veo2-fast veo2-fast-frames veo2-fast-components veo2-pro veo3-fast-frames veo3.1 Google最新的高级人工智能模型, veo3 快速 模式,支持视频自动配套音频生成,质量高价格很低,性价比最高的选择, 自适应首帧和文生视频 veo3.1-pro Google最新的高级人工智能模型, veo3 高质量 模式,支持视频自动配套音频生成,质量超高,价格也超高,使用需注意, 自适应首帧和文生视频
url or base64;当模型是带 veo2-fast-frames 最多支持两个,分别是首尾帧,当模型是 veo3-pro-frames 最多支持一个首帧,当模型是 veo2-fast-components 最多支持 3 个,此时图片为视频中的元素
16:9 横屏 9:16 竖屏
是否优化提示词,一般是false;由于 veo 只支持英文提示词,所以如果需要中文自动转成英文提示词,可以开启此开关
Response
200 - application/json
Request succeeded.