curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "blackforestlabs/flux-3/image-to-video",
"input": {
"image_urls": [
"https://example.com/image.png"
],
"prompt": "A quiet forest under soft morning light, with natural detail.",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "auto",
"sound": true
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-example",
"status": "running",
"created_time": "2026-09-10T08:00:00"
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Request timeout{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Flux
FLUX 3 图生视频
FLUX 3 API 可让静态图片动起来,用文本指引场景,可选生成声音,输出最高 1080p。
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "blackforestlabs/flux-3/image-to-video",
"input": {
"image_urls": [
"https://example.com/image.png"
],
"prompt": "A quiet forest under soft morning light, with natural detail.",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "auto",
"sound": true
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-example",
"status": "running",
"created_time": "2026-09-10T08:00:00"
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Request timeout{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}- 提交后会返回
task_id。如果提供了callback_url,当任务状态变为finished或failed时,系统会向callback_url发送 POST 请求。 - 无论是否提供
callback_url,都可以通过统一的查询任务状态接口获取结果。
模型
- blackforestlabs/flux-3/image-to-video - 根据输入图片生成视频。
功能
- 让单张参考图动起来。
- 输出分辨率可选
720p、1080p。 - 通过
sound控制是否生成音频,默认为true。
时长选项
- 5-20 秒 - 将
duration设为整数。默认:5 秒。
高级参数
model 和可选的 callback_url 放在请求根级,下列参数放在 input 中。
只传本工作流支持的 input 字段。不支持的 input 字段会在扣除积分前被拒绝。输入 URL 必须使用 HTTP(S)、包含主机名,且不能内嵌凭证。
提示词
prompt:必填。描述场景和期望的运动。- 传入时提示词不能为空白。
图片 URL
image_urls:必填。提供恰好 1 个图片 URL。- 图片必须可公开访问且可直接下载。
分辨率
resolution:720p、1080p。默认:720p。
宽高比
aspect_ratio:auto、21:9、2:1、16:9、4:3、1:1、3:4、9:16。默认:auto。
音频
sound:设为true启用音频生成,设为false关闭。默认:true。
定价
价格取决于所选模型及相关输出设置。当前费率请查看 Vidgo 仪表盘。 积分在提交时扣除,任务失败时退还。授权
使用 VIDGO_API_KEY。
请求体
application/json