VAP AI · Schema

CreateTaskRequest

Request to create a new task. Task Types (Directive #238, #332, D#566): - image_generation / image: Generate AI image ($0.18 fixed) - video / video_generation: Generate AI video ($1.96 fixed) - music / music_generation: Generate AI music ($0.68 fixed) Video params: - duration: 4, 6, or 8 seconds (default: 8) - aspect_ratio: "16:9", "9:16", "1:1" (default: "16:9") - generate_audio: bool (default: true) - source_image: optional input image URL/file for image-to-video - reference_image: alias of source_image for compatibility Music params: - duration: 30-480 seconds (default: 120 = 2 minutes) - instrumental: bool (default: false)

Artificial IntelligencePlatformMedia GenerationCode GenerationDeveloper Tools

Properties

Name Type Description
type string Task type: image_generation, video, music, etc.
idempotency_key object Client-provided key for duplicate prevention
priority string Task priority: low, normal, high, critical
params object Task parameters
callback_url object Webhook URL for completion notification
View JSON Schema on GitHub

JSON Schema

vapagent-com-create-task-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vapagent-com/json-schema/vapagent-com-create-task-request-schema.json",
  "title": "CreateTaskRequest",
  "description": "Request to create a new task.\n\nTask Types (Directive #238, #332, D#566):\n- image_generation / image: Generate AI image ($0.18 fixed)\n- video / video_generation: Generate AI video ($1.96 fixed)\n- music / music_generation: Generate AI music ($0.68 fixed)\n\nVideo params:\n- duration: 4, 6, or 8 seconds (default: 8)\n- aspect_ratio: \"16:9\", \"9:16\", \"1:1\" (default: \"16:9\")\n- generate_audio: bool (default: true)\n- source_image: optional input image URL/file for image-to-video\n- reference_image: alias of source_image for compatibility\n\nMusic params:\n- duration: 30-480 seconds (default: 120 = 2 minutes)\n- instrumental: bool (default: false)",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vapagent-com-openapi.json#/components/schemas/CreateTaskRequest",
  "properties": {
    "type": {
      "type": "string",
      "title": "Type",
      "description": "Task type: image_generation, video, music, etc.",
      "default": "image_generation"
    },
    "idempotency_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Idempotency Key",
      "description": "Client-provided key for duplicate prevention"
    },
    "priority": {
      "type": "string",
      "title": "Priority",
      "description": "Task priority: low, normal, high, critical",
      "default": "normal"
    },
    "params": {
      "additionalProperties": true,
      "type": "object",
      "title": "Params",
      "description": "Task parameters"
    },
    "callback_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Callback Url",
      "description": "Webhook URL for completion notification"
    }
  },
  "type": "object"
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/vapagent-com-create-task-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.