> ## Documentation Index
> Fetch the complete documentation index at: https://docs.poyo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# OmniHuman 2.0

> Animate one character image with a 4–300 second driving audio track and optional performance instructions.

<Tip>
  1. After submission, a `task_id` will be returned. If you provided a `callback_url`, when the task status becomes `finished` or `failed`, a POST request will be sent to the `callback_url`.
  2. Regardless of whether `callback_url` is provided, you can retrieve the response result through the unified [Query Task Status](/api-manual/task-management/status) endpoint.
</Tip>

OmniHuman 2.0 creates an audio-driven character video from one image and a driving audio file. Use an optional prompt to guide the character's motion and performance.

## Models

* **omnihuman-2.0** — Audio-driven character animation

## Features

* Animate one character image with a driving audio track.
* Guide motion and performance with an optional text prompt.

## Required parameters

* `image_urls` (array of strings): Exactly one character image URL.
* `audio_url` (string): Driving audio URL. Audio must be 4–300 seconds long and no larger than 15 MB.

## Optional parameters

* `prompt` (string): Optional instructions for motion and performance.

## Examples

The request example uses only the required `image_urls` and `audio_url` fields. Add `prompt` inside `input` when performance instructions are needed.

## Notes

* Put all generation parameters inside `input`.
* Images must use publicly accessible HTTP or HTTPS URLs.
* `audio_url` must be a publicly accessible HTTP or HTTPS URL.
* A separate `duration` parameter is not accepted; the driving audio determines the requested performance length.


## OpenAPI

````yaml api-manual/video-series/omnihuman-2-0.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: OmniHuman 2.0
  description: Animate one character image with a driving audio track.
  version: 1.0.0
servers:
  - url: https://api.poyo.ai
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      summary: Submit a OmniHuman 2.0 video task
      operationId: submit_omnihuman_2_0
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              audio-driven-avatar:
                summary: Animate a character with driving audio
                value:
                  model: omnihuman-2.0
                  input:
                    image_urls:
                      - https://example.com/character.png
                    audio_url: https://example.com/speech.mp3
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized - Invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SubmitRequest:
      type: object
      additionalProperties: false
      required:
        - model
        - input
      properties:
        model:
          type: string
          enum:
            - omnihuman-2.0
          description: Public model identifier.
        callback_url:
          type: string
          format: uri
          description: Optional webhook URL for task completion or failure notifications.
        input:
          type: object
          additionalProperties: false
          required:
            - image_urls
            - audio_url
          properties:
            image_urls:
              type: array
              items:
                type: string
                format: uri
              minItems: 1
              maxItems: 1
              description: >-
                Exactly one character image to animate. Use publicly accessible
                HTTP or HTTPS URLs.
            audio_url:
              type: string
              format: uri
              description: >-
                Driving audio URL. Audio must be 4–300 seconds long and no
                larger than 15 MB. Use a publicly accessible HTTP or HTTPS URL.
            prompt:
              type: string
              description: >-
                Optional instructions for the character's motion and
                performance.
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
              example: task-unified-1792190000-example
            status:
              type: string
              enum:
                - not_started
              example: not_started
            created_time:
              type: string
              format: date-time
              example: '2026-10-17T10:30:00'
    ErrorResponse:
      type: object
      required:
        - code
        - error
      properties:
        code:
          type: integer
          example: 400
        error:
          type: object
          required:
            - message
            - type
          properties:
            message:
              type: string
              example: Invalid request parameters
            type:
              type: string
              example: invalid_request_error
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.