# "/fal-ai/veo3/fast/image-to-video"

Nguồn: https://docs.openaihub.net/api-45208921/

> API origin: `https://api.openaihub.net`. Chọn đúng nhóm API và model. Thông số dưới đây là bản tham chiếu kỹ thuật; chưa phải kết quả kiểm thử từng endpoint bằng tài khoản của bạn.


## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /fal-ai/veo3/fast/image-to-video:
    post:
      summary: /fal-ai/veo3/fast/image-to-video
      deprecated: false
      description: >-
        Địa chỉ tài liệu chính thức:
        https://fal.ai/models/fal-ai/veo3/fast/image-to-video
      operationId: fal_ai_fal_ai_veo3_fast_image_to_video
      tags:
        - OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Hình ảnh/Fal.ai/falai-veo3 tạo video
        - Fal.ai
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - prompt
                - image_url
              properties:
                aspect_ratio:
                  type: string
                  description: 'Tỷ lệ khung hình mặc định cho video được tạo: "tự động"'
                duration:
                  type: string
                  description: >-
                    Thời lượng của video được tạo (tính bằng giây) Giá trị mặc
                    định: "8s"
                generate_audio:
                  type: boolean
                  description: >-
                    Có tạo âm thanh cho video hay không. Nếu là false, số điểm
                    sẽ giảm %33. Giá trị mặc định: true
                image_url:
                  type: string
                  description: >-
                    URL của hình ảnh đầu vào cần tạo hiệu ứng chuyển động. Độ
                    phân giải nên từ 720p trở lên, với tỷ lệ khung hình 16:9.
                    Nếu tỷ lệ khung hình của hình ảnh không phải là 16:9, hình
                    ảnh sẽ được cắt để vừa khung.
                prompt:
                  type: string
                  description: >-
                    Một gợi ý bằng văn bản mô tả cách hình ảnh nên được tạo hiệu
                    ứng chuyển động
                resolution:
                  type: string
                  description: >-
                    Độ phân giải mặc định của video được tạo: "720p" Phạm vi giá
                    trị [720p, 1080p]
              refName: PostFalAiVeo3FastImageToVideoRequest
              x-apifox-orders:
                - aspect_ratio
                - duration
                - generate_audio
                - image_url
                - prompt
                - resolution
              x-apidog-orders:
                - aspect_ratio
                - duration
                - generate_audio
                - image_url
                - prompt
                - resolution
            examples:
              fal_aiveo3fastimage_to_video_single:
                value:
                  aspect_ratio: '16:9'
                  duration: 8s
                  generate_audio: true
                  image_url: >-
                    https://storage.googleapis.com/falserverless/example_inputs/veo3-i2v-input.png
                  prompt: >-
                    Một phụ nữ nhìn vào máy quay, hít vào, rồi hào hứng thốt
                    lên: "mọi người đã thử Veo3 Image-to-Video trên Fal chưa? Nó
                    tuyệt vời lắm!"
                  resolution: 720p
                summary: fal_aiveo3fastimage_to_video_single
                description: /fal-ai/veo3/fast/image-to-video
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                x-apidog-orders: []
              examples:
                example:
                  summary: example
                  value:
                    cancel_url: >-
                      https://queue.fal.run/fal-ai/veo3/requests/1b24b3ae-16a2-4d19-b10d-1e323ebff061/cancel
                    logs: []
                    metrics: {}
                    queue_position: 0
                    request_id: 1b24b3ae-16a2-4d19-b10d-1e323ebff061
                    response_url: >-
                      https://queue.fal.run/fal-ai/veo3/requests/1b24b3ae-16a2-4d19-b10d-1e323ebff061
                    status: IN_QUEUE
                    status_url: >-
                      https://queue.fal.run/fal-ai/veo3/requests/1b24b3ae-16a2-4d19-b10d-1e323ebff061/status
          headers: {}
          x-apidog-name: ''
        '400':
          description: Yêu cầu không hợp lệ hoặc xác thực thất bại
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - message
                      - type
                    properties:
                      message:
                        type: string
                        description: Thông báo lỗi (thường kết thúc bằng mã yêu cầu)
                      type:
                        type: string
                        description: Loại lỗi; các lỗi cổng cục bộ thường là new_api_error
                        examples:
                          - new_api_error
                    x-apifox-orders:
                      - message
                      - type
                    x-apidog-orders:
                      - message
                      - type
                refName: NewApiError
                x-apifox-orders:
                  - error
                x-apidog-orders:
                  - error
              examples:
                example:
                  summary: example
                  value:
                    error:
                      message: >-
                        Yêu cầu không hợp lệ (mã yêu cầu:
                        20260805120000123456789AbCdEfGh)
                      type: new_api_error
          headers: {}
          x-apidog-name: Yêu cầu không hợp lệ hoặc xác thực thất bại
        '401':
          description: Khóa API bị thiếu hoặc không hợp lệ
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - message
                      - type
                    properties:
                      message:
                        type: string
                        description: Thông báo lỗi (thường kết thúc bằng mã yêu cầu)
                      type:
                        type: string
                        description: Loại lỗi; các lỗi cổng cục bộ thường là new_api_error
                        examples:
                          - new_api_error
                    x-apifox-orders:
                      - message
                      - type
                    x-apidog-orders:
                      - message
                      - type
                refName: NewApiError
                x-apifox-orders:
                  - error
                x-apidog-orders:
                  - error
              examples:
                example:
                  summary: example
                  value:
                    error:
                      message: >-
                        Mã thông báo không hợp lệ (request id:
                        20260805120000123456789AbCdEfGh)
                      type: new_api_error
          headers: {}
          x-apidog-name: Khóa API bị thiếu hoặc không hợp lệ
      security: []
      x-apidog-folder: OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Hình ảnh/Fal.ai/falai-veo3 tạo video
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1218648/apis/api-45208921-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.openaihub.net
    description: Prod Env
security: []

```
