Captions · Example Payload

Captions Generate Video Example

Example showing how to create an AI talking-head video from an image and audio reference using the Mirage Video API.

CompanyVideoArtificial IntelligenceVideo EditingVideo GenerationCaptionsSubtitlesText-to-SpeechAI AvatarsContent CreationMedia

Captions Generate Video Example is an example object payload from Captions, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponsepoll_examplenotes

Example Payload

Raw ↑
{
  "title": "Generate AI Video (Mirage Video API)",
  "description": "Example showing how to create an AI talking-head video from an image and audio reference using the Mirage Video API.",
  "request": {
    "method": "POST",
    "url": "https://api.mirage.app/v1/videos",
    "headers": {
      "x-api-key": "mira_yourApiKeyHere",
      "Content-Type": "multipart/form-data"
    },
    "body": {
      "image_reference": "<binary JPEG or PNG file>",
      "audio_reference": "<binary WAV or MP3 file>",
      "model": "mirage-video-1-latest"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "id": "video_abc123def456",
      "object": "video",
      "status": "PROCESSING",
      "created_at": 1730822400,
      "completed_at": null,
      "progress": 0,
      "error": null,
      "model": "mirage-video-1-latest",
      "source_video_id": null,
      "caption_template_id": null,
      "share_link_url": null,
      "video_id": "video_abc123def456"
    }
  },
  "poll_example": {
    "request": {
      "method": "GET",
      "url": "https://api.mirage.app/v1/videos/video_abc123def456",
      "headers": {
        "x-api-key": "mira_yourApiKeyHere"
      }
    },
    "response_complete": {
      "status": 200,
      "body": {
        "id": "video_abc123def456",
        "object": "video",
        "status": "COMPLETE",
        "created_at": 1730822400,
        "completed_at": 1730822520,
        "progress": 100,
        "error": null,
        "model": "mirage-video-1-latest",
        "source_video_id": null,
        "caption_template_id": null,
        "share_link_url": null,
        "video_id": "video_abc123def456"
      }
    }
  },
  "notes": "Mirage Video API is currently in limited early-access beta. Poll GET /v1/videos/{video_id} until status=COMPLETE, then fetch content via GET /v1/videos/{video_id}/content."
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • 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 example
curl "https://apis.io/api/v1/examples/captions-generate-video-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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