/fal-ai/veo3/fast

POST /fal-ai/veo3/fast

MethodPOST
Path/fal-ai/veo3/fast
Typehttp
Status1
Module2102810
Folder67000325

说明

概览

MethodPOST
Path/fal-ai/veo3/fast
Typehttp
Status1
Module2102810
Folder67000325

请求体

{
  "type": "application/json",
  "parameters": [],
  "jsonSchema": {
    "type": "object",
    "properties": {
      "prompt": {
        "type": "string",
        "description": "描述要生成的视频的文本提示"
      },
      "aspect_ratio": {
        "type": "string",
        "description": "生成视频的宽高比。如果设置为 1:1,视频将被外绘。默认值:\"16:9\",范围[16:9,9:16,1:1]"
      },
      "duration": {
        "type": "string",
        "description": "生成视频的时长(以秒为单位)默认值:\"8s\""
      },
      "enhance_prompt": {
        "type": "boolean",
        "description": "是否增强视频生成默认值:true"
      },
      "auto_fix": {
        "type": "boolean",
        "description": "是否通过重写来自动尝试修复未通过内容策略或其他验证检查的提示默认值:true"
      },
      "resolution": {
        "type": "string",
        "description": "生成视频的分辨率默认值:\"720p\"  范围值[720p,1080p]"
      },
      "generate_audio": {
        "type": "boolean",
        "description": "是否为视频生成音频。如果为 false,则将减少 %33 的积分。默认值:true"
      }
    },
    "required": [
      "prompt"
    ],
    "x-apifox-orders": [
      "prompt",
      "aspect_ratio",
      "duration",
      "enhance_prompt",
      "auto_fix",
      "resolution",
      "generate_audio"
    ]
  },
  "mediaType": "",
  "examples": [
    {
      "value": "{\r\n  \"prompt\": \"A casual street interview on a busy New York City sidewalk in the afternoon. The interviewer holds a plain, unbranded microphone and asks: Have you seen Google's new Veo3 model It is a super good model. Person replies: Yeah I saw it, it's already available on fal. It's crazy good.\",\r\n  \"aspect_ratio\": \"16:9\",\r\n  \"duration\": \"4s\",\r\n  \"enhance_prompt\": true,\r\n  \"auto_fix\": true,\r\n  \"resolution\": \"720p\",\r\n  \"generate_audio\": false\r\n}",
      "mediaType": "application/json",
      "description": ""
    }
  ],
  "oasExtensions": ""
}

响应

[
  {
    "id": 773608925,
    "name": "成功",
    "code": 200,
    "contentType": "json",
    "jsonSchema": {
      "type": "object",
      "properties": {}
    },
    "itemSchema": {},
    "description": "",
    "mediaType": "",
    "headers": []
  },
  {
    "id": 777810527,
    "name": "成功",
    "code": 200,
    "contentType": "json",
    "jsonSchema": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string"
        },
        "request_id": {
          "type": "string"
        },
        "response_url": {
          "type": "string"
        },
        "status_url": {
          "type": "string"
        },
        "cancel_url": {
          "type": "string"
        },
        "logs": {
          "type": "null"
        },
        "metrics": {
          "type": "object",
          "properties": {}
        },
        "queue_position": {
          "type": "integer"
        }
      },
      "required": [
        "status",
        "request_id",
        "response_url",
        "status_url",
        "cancel_url",
        "logs",
        "metrics",
        "queue_position"
      ]
    },
    "itemSchema": {},
    "description": "",
    "mediaType": "",
    "headers": []
  }
]

响应示例

[
  {
    "name": "成功示例",
    "responseId": 773608925,
    "data": "{\r\n    \"status\": \"IN_QUEUE\",\r\n    \"request_id\": \"fabda298-3a7c-43f6-ba3a-2bde5b344173\",\r\n    \"response_url\": \"https://queue.fal.run/fal-ai/veo3/requests/fabda298-3a7c-43f6-ba3a-2bde5b344173\",\r\n    \"status_url\": \"https://queue.fal.run/fal-ai/veo3/requests/fabda298-3a7c-43f6-ba3a-2bde5b344173/status\",\r\n    \"cancel_url\": \"https://queue.fal.run/fal-ai/veo3/requests/fabda298-3a7c-43f6-ba3a-2bde5b344173/cancel\",\r\n    \"logs\": null,\r\n    \"metrics\": {},\r\n    \"queue_position\": 0\r\n}",
    "description": "",
    "oasKey": "",
    "oasExtensions": "",
    "id": 708628742
  }
]