文档目录

h3-720p-official

视频已上架

h3-720p-official 的价格、实测能力参数与 OpenAI / Anthropic 双协议接入示例。base_url https://api.ai526.com,按量计费。

价格

下表为最终扣费价,按实际用量结算(token / 张 / 秒),请求失败不扣费。

计费项售价
每秒¥0.22

支持参数

端点:创建 POST /v1/videos(异步)→ 轮询 GET /v1/videos/{id} → 取回 GET /v1/videos/{id}/content

参数类型说明
modelstring必填:h3-720p-official
promptstring必填,画面描述(文本提示词)
secondsstring/int生成时长(秒),如 5"5";具体支持的时长由模型决定,不支持会返回错误;留空 = 模型默认
sizestring尺寸 宽x高,如 1280x720 / 720x1280;等价字段 resolution / ratio / aspect_ratio
input_referencestring / object单首帧参考图:URL 字符串,或 {"url"|"image_url"|"file_id": ...};图生视频类模型必填
extra.reference_imagesarray多参考图:URL 或对象数组,可标角色 first_frame / last_frame / reference_image
extra.reference_videosarray参考视频:URL 或 {"url":...} 对象数组
extra.reference_audiosarray参考音频:URL 或 {"url":...} 对象数组
extra.aspect_ratiostring画幅比例 16:9 / 9:16 / 1:1
extra.resolutionstring分辨率档位 480p / 720p / 1080p / 2k
extra.(其它)variousfps 帧率 · seed 随机种子 · negative_prompt 反向提示 · watermark 水印 · generate_audio 生成音频(仅确认支持的模型)

参考素材均以 URL / 对象形式传入(不是文件上传):单图用 input_reference,多图 / 视频 / 音频用 extra.reference_images / reference_videos / reference_audios每个模型具体支持哪些参数、哪些时长与尺寸,以实际调用返回为准 —— 上游不公布逐模型能力清单,模型不支持的字段会原样返回错误(不会被静默改写)。视频为异步任务:创建返回 video_id,轮询 GET /v1/videos/{id} 直到 status=completed 取回 video_url;失败自动退款。

实测能力

该模型暂无探测数据;能力参数以探测引擎实测入库后为准。

接入示例

base_url 统一为 https://api.ai526.com,OpenAI 与 Anthropic 协议同一把 Key 通用。

curl(OpenAI 协议,异步任务)

curl https://api.ai526.com/v1/videos \
  -H "Authorization: Bearer sk-你的Key" \
  -H "Content-Type: application/json" \
  -d '{"model":"h3-720p-official","prompt":"a cat running in the rain","seconds":"4"}'
# 轮询任务:GET https://api.ai526.com/v1/videos/{video_id}
# 下载成片:GET https://api.ai526.com/v1/videos/{video_id}/content

还没有 Key?免费注册,1 分钟拿到 Key →