Skip to main content
POST
cURL

授权

Authorization
string
header
必填

在 Authorization 请求头中使用 Bearer APIPod_API_KEY。

请求体

application/json
model
string
必填

APIPod 公开模型 ID。

Allowed value: "grok-imagine-1.5-vip"
prompt
string
必填

生成或编辑指令。 最大字符串长度:4000。

image_url
string
默认值:""
必填

可公开访问的源图片 URL。

duration
integer
默认值:8

视频时长,单位为秒。 最小值:1。 最大值:15。

resolution
enum<string>
默认值:720p

输出分辨率档位。

可用选项:
480p,
720p,
1080p
aspect_ratio
enum<string>
默认值:16:9

输出宽高比。

可用选项:
1:1,
16:9,
9:16,
4:3,
3:4,
3:2,
2:3
voice_ids
enum<string>[]

Up to 3 narration voices for the generated video (official GA 1.5 upstream only). 最多项目数:3。

可用选项:
carina,
zagan,
helix,
orion,
luna,
iris,
altair,
zenith,
perseus,
helios,
lux,
kepler,
rigel,
cosmo,
celeste,
ursa,
sirius,
lumen,
castor,
naksh,
atlas,
ara,
eve,
leo,
rex,
sal

响应

200 - application/json

任务已受理

Standard response for task submission

code
integer
必填

HTTP 状态码。

data
Task Submit Data · object
必填

响应数据。

message
string
必填

响应消息。