全部接口
获取pika affect列表(免费
查询视频任务(免费
generate (文生视频\图生视频\视频生视频)
模型信息
| 模型 ID | pika-generate | 供应商 | Pika |
|---|---|---|---|
| 输入模态 | 未注明 | 输出模态 | 未注明 |
| 分类 | 未注明 | 发布时间 | 未注明 |
调用接口
| 分组 | 接口 | 渠道 | 方法 | 路径 |
|---|---|---|---|---|
| 全部接口 | 获取pika affect列表(免费 | 本站 AI 中转站 | GET | /pika/affects |
| 全部接口 | 查询视频任务(免费 | 本站 AI 中转站 | GET | /pika/feed/{taskId} |
| 全部接口 | generate (文生视频\图生视频\视频生视频) | 本站 AI 中转站 | POST | /pika/generate |
GET /pika/affects
{
"summary": "获取pika affect列表(免费",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "成功"
}
},
"parameters": [],
"description": ""
}GET /pika/feed/{taskId}
### 查询视频任务(免费
字段 类型 说明
id string 任务id
promptText string 提示词
videos array 视频数组
videos[].id string 视频id
videos[].status string 视频状态 finished 为完成 error 为错误
videos[].seed number 视频种子
videos[].resultUrl string 视频地址
videos[].videoPoster string 封面图片
videos[].sharingUrl string 视频分享地址
videos[].error string 当状态为error 有错误说明
videos[].progress number 进度
{
"summary": "查询视频任务(免费",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "成功"
}
},
"parameters": [
{
"in": "path",
"name": "taskId",
"schema": {
"type": "string"
},
"required": true,
"description": ""
}
],
"description": "### 查询视频任务(免费\n字段\t类型\t说明\nid\tstring\t任务id\npromptText\tstring\t提示词\nvideos\tarray\t视频数组\nvideos[].id\tstring\t视频id\nvideos[].status\tstring\t视频状态 finished 为完成 error 为错误\nvideos[].seed\tnumber\t视频种子\nvideos[].resultUrl\tstring\t视频地址\nvideos[].videoPoster\tstring\t封面图片\nvideos[].sharingUrl\tstring\t视频分享地址\nvideos[].error\tstring\t当状态为error 有错误说明\nvideos[].progress\tnumber\t进度"
}POST /pika/generate
{
"summary": "generate (文生视频\\图生视频\\视频生视频)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "成功"
}
},
"parameters": [
{
"in": "header",
"name": "User-Agent",
"schema": {
"type": "string",
"example": "Apifox/1.0.0 ("
},
"required": true,
"description": ""
}
],
"description": "",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "generate (文生视频\\图生视频\\视频生视频)",
"$schema": "",
"required": [
"pikaffect",
"promptText",
"model",
"options"
],
"properties": {
"image": {
"type": "string",
"description": "存在就必须有值,可以是base64 或者图片url"
},
"model": {
"type": "string",
"description": "模型版本 1.5\\2.0"
},
"video": {
"type": "string",
"description": "参考视频/扩展视频,存在就必须有值"
},
"options": {
"type": "object",
"required": [
"aspectRatio",
"frameRate",
"camera",
"parameters",
"extend"
],
"properties": {
"camera": {
"type": "object",
"properties": [],
"description": "默认{}"
},
"extend": {
"type": "boolean"
},
"frameRate": {
"type": "integer",
"description": "默认24"
},
"parameters": {
"type": "object",
"required": [
"guidanceScale",
"motion",
"negativePrompt"
],
"properties": {
"motion": {
"type": "integer"
},
"guidanceScale": {
"type": "integer"
},
"negativePrompt": {
"type": "string",
"description": "不出现的物体"
}
}
},
"aspectRatio": {
"type": "number",
"description": "宽高比例 如果是图片这个要去掉"
}
},
"description": "视频设置"
},
"pikaffect": {
"type": "string",
"description": "官方视频效果,可以留空 当配置上效果后有配音 Ta-da Deflate Crumble Dissolve Squish Inflate Melt Crush Cake-ify Explode 后续官方可能还会增加"
},
"promptText": {
"type": "string",
"description": "提示词"
}
},
"x-apifox-id": "229374791"
}
}
},
"required": true
}
}价格
| 价格组 | 渠道 | 计费项 | 价格 | 单位 |
|---|---|---|---|---|
| default | AI 中转站 | request | CNY 0.6 | request |
服务级错误码参照(error_code):
| 错误码 | 说明 | |
|---|---|---|
| 221301 | 数据源超时 | |
| 221303 | 认证失败 认证失败,请稍后重试 认证失败,该卡当日连续多次认证不通过被限制校验,次日恢复 |
|
| 221306 | 参数错误 参数错误:姓名格式不正确 参数错误:手机号格式不正确 参数错误:身份证格式不正确 参数错误:银行卡号格式不正确 同一银行卡请求过于频繁 |
系统级错误码参照:
| 错误码 | 说明 | |
|---|---|---|
| 10001 | 错误的请求KEY | |
| 10002 | 该KEY无请求权限 | |
| 10003 | KEY过期 | |
| 10004 | 错误的OPENID | |
| 10005 | 应用未审核超时,请提交认证 | |
| 10007 | 未知的请求源 | |
| 10008 | 被禁止的IP | |
| 10009 | 被禁止的KEY | |
| 10011 | 当前IP请求超过限制 | |
| 10012 | 请求超过次数限制 | |
| 10013 | 测试KEY超过请求限制 | |
| 10014 | 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失) | |
| 10020 | 接口维护 | |
| 10021 | 接口停用 |
错误码格式说明(示例:200201):
| 2 | 002 | 01 | |
|---|---|---|---|
| 服务级错误(1为系统级错误) | 服务模块代码(即数据ID) | 具体错误代码 |
使用文档下载
| 附件标题/下载链接 | 更新时间 | |
|---|---|---|
| 接口资料:GET /pika/affects(获取pika affect列表(免费) | 2026-09-09 15:29:08 | |
| 接口资料:GET /pika/feed/{taskId}(查询视频任务(免费) | 2026-09-09 15:29:08 | |
| 接口资料:POST /pika/generate(generate (文生视频\图生视频\视频生视频)) | 2026-09-09 15:29:08 | |
| 价格分组:default(CNY 0.6/request) | 2026-09-09 15:29:08 | |
| 供应商令牌分组折扣资料 | 2026-09-09 15:29:08 |
常见问题:
| 标题 | 更新时间 | |
|---|---|---|
| Token 是什么?中文、英文与上下文窗口如何计算 | 2026-09-18 19:52:51 | |
| LLM API 费用如何计算?如何选择合适的模型 | 2026-09-18 19:52:54 | |
| Word-to-Token 转换与用量估算指南 | 2026-09-19 00:49:28 |
gemini-3.8-flash-thinking-medium
gemini-3.8-flash-thinking-high