Pixnovia Video Generation API

Create, monitor, and retrieve AI-generated videos

GitHub OpenAPI

Operations 3

POST /api/video/generate Create Video Task #
GET /api/video/task/{task_id} Get Task Results #
GET /api/video/download/{task_id} Download Generated Video #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pixnovia-com:pixnovia-com-video-generation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pixnovia-com-video-generation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pixnovia H3 Video Video Generation API
  description: Generate AI videos using the Minimax H3 model. Pay-as-you-go pricing with no subscriptions. New accounts get $1 free credit.
  version: 1.0.0
  contact:
    name: Pixnovia Support
    url: https://pixnovia.com
    email: support@pixnovia.com
  license:
    name: Commercial
    url: https://pixnovia.com/terms
servers:
- url: https://pixnovia.com
  description: Production server
security:
- BearerAuth: []
tags:
- name: Video Generation
  description: Create, monitor, and retrieve AI-generated videos
paths:
  /api/video/generate:
    post:
      tags:
      - Video Generation
      summary: Create Video Task
      description: Submit a video generation task. Runs asynchronously and returns immediately with a task_id. Poll /api/video/task/{id} to check progress and retrieve the result.
      operationId: createVideoTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoGenerateRequest'
            examples:
              text_only:
                summary: Text-only generation
                value:
                  prompt: A cinematic drone shot over snow-capped mountains at golden hour
                  resolution: 1080p
                  aspect_ratio: landscape
                  duration: 6
              with_references:
                summary: With reference image and audio
                value:
                  prompt: Ocean waves at sunset with a gentle rhythm
                  resolution: 1080p
                  aspect_ratio: landscape
                  duration: 10
                  ref_files:
                    ref_image_0: data:image/jpeg;base64,/9j/4AAQSkZJ...
                    ref_audio_0: data:audio/wav;base64,UklGRi4AAABX...
      responses:
        '200':
          description: Task created successfully or failed with details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoGenerateResponse'
              examples:
                success:
                  value:
                    task_id: 42
                    status: success
                    est_cost_cents: 48
                    error_message: null
                insufficient_balance:
                  value:
                    task_id: null
                    status: failed
                    est_cost_cents: 48
                    error_message: 'Insufficient balance. Required: $0.48, Current: $0.20'
        '400':
          description: Bad request - missing or invalid parameter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized - API key missing, invalid, or revoked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Payment required - insufficient balance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error - contact support@pixnovia.com if it persists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /api/video/task/{task_id}:
    get:
      tags:
      - Video Generation
      summary: Get Task Results
      description: Poll this endpoint to check task progress. When status is 'success', the video_url field contains the generated video. Your account balance is deducted at completion.
      operationId: getTaskStatus
      parameters:
      - name: task_id
        in: path
        required: true
        schema:
          type: integer
        description: Task ID returned by the Generate Video endpoint
      responses:
        '200':
          description: Task status and result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskStatusResponse'
              examples:
                success:
                  value:
                    task_id: 42
                    status: success
                    video_url: /api/video/download/42
                    error_message: null
                    cost_cents: 48
                    transaction_id: 187
                    new_balance_cents: 952
                    created_at: '2026-11-10T08:23:11Z'
                    completed_at: '2026-11-10T08:25:44Z'
                processing:
                  value:
                    task_id: 42
                    status: processing
                    video_url: null
                    error_message: null
                    cost_cents: null
                    transaction_id: null
                    new_balance_cents: null
                    created_at: '2026-11-10T08:23:11Z'
                    completed_at: null
        '401':
          description: Unauthorized - API key missing or invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found - task does not exist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /api/video/download/{task_id}:
    get:
      tags:
      - Video Generation
      summary: Download Generated Video
      description: Download the generated video file. Use the video_url from a successful task status response and prepend the base URL.
      operationId: downloadVideo
      parameters:
      - name: task_id
        in: path
        required: true
        schema:
          type: integer
        description: Task ID of the completed video generation
      responses:
        '200':
          description: Video file (MP4)
          content:
            video/mp4:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Video not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    VideoGenerateResponse:
      type: object
      properties:
        task_id:
          type:
          - integer
          - 'null'
          description: Unique task ID for polling. Null if task failed to create.
        status:
          type: string
          enum:
          - success
          - failed
          description: Task creation status
        est_cost_cents:
          type: integer
          description: Estimated cost in cents
        error_message:
          type:
          - string
          - 'null'
          description: Error details if status is failed
    ErrorResponse:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    TaskStatusResponse:
      type: object
      properties:
        task_id:
          type: integer
          description: Task ID
        status:
          type: string
          enum:
          - pending
          - processing
          - success
          - failed
          description: Current task status
        video_url:
          type:
          - string
          - 'null'
          description: Relative download URL when status is success. Prepend https://pixnovia.com to get full URL.
        error_message:
          type:
          - string
          - 'null'
          description: Error details if status is failed
        cost_cents:
          type:
          - integer
          - 'null'
          description: Actual cost in cents after completion
        transaction_id:
          type:
          - integer
          - 'null'
          description: Transaction ID for record-keeping
        new_balance_cents:
          type:
          - integer
          - 'null'
          description: Account balance in cents after transaction
        created_at:
          type: string
          format: date-time
          description: Task creation timestamp
        completed_at:
          type:
          - string
          - 'null'
          format: date-time
          description: Task completion timestamp
    VideoGenerateRequest:
      type: object
      required:
      - prompt
      - resolution
      - aspect_ratio
      - duration
      properties:
        prompt:
          type: string
          description: Text description of the video to generate.
          example: A cinematic drone shot over snow-capped mountains at golden hour
        resolution:
          type: string
          enum:
          - 480p
          - 768p
          - 1080p
          - 1440p
          description: Video resolution (480p=$0.04/sec, 768p=$0.06/sec, 1080p=$0.08/sec, 1440p=$0.10/sec)
        aspect_ratio:
          type: string
          enum:
          - landscape
          - portrait
          description: Video aspect ratio
        duration:
          type: integer
          minimum: 3
          maximum: 15
          description: Duration in seconds
        ref_files:
          type: object
          description: 'Optional reference files as base64 data URLs. Keys: ref_image_0 to ref_image_5 (JPEG/PNG/WebP, max 10MB each) and ref_audio_0 to ref_audio_2 (WAV only, max 10MB each)'
          properties:
            ref_image_0:
              type: string
              format: byte
              description: Reference image 0 as base64 data URL
            ref_audio_0:
              type: string
              format: byte
              description: Reference audio 0 as base64 data URL
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_
      description: API key authentication using Bearer token. Create keys from your dashboard.