{
  "openapi": "3.1.0",
  "x-zeroclick-navigation": {
    "fullSpec": "https://agents.vimmerse.net/zcj/8514xm9ekf38/openapi.json",
    "services": "https://agents.vimmerse.net/zcj/8514xm9ekf38/services",
    "serviceSpecTemplate": "https://agents.vimmerse.net/zcj/8514xm9ekf38/services/{slug}/openapi.json",
    "searchTemplate": "https://agents.vimmerse.net/zcj/8514xm9ekf38/openapi.json?q={text}",
    "operationTemplate": "https://agents.vimmerse.net/zcj/8514xm9ekf38/openapi.json?path={path}&method={method}",
    "firstPage": "https://agents.vimmerse.net/zcj/8514xm9ekf38/openapi.json?page=1",
    "instructions": [
      "Use this spec if it contains the operation and details you need. Otherwise, search or open a relevant service spec using the links below.",
      "Find service slugs in x-zeroclick-services or x-payment-info.rates[].service; use them in serviceSpecTemplate, never as request values.",
      "URL-encode template values. Search is ranked; service, path, and method filters are exact. Filters combine.",
      "Pages contain up to 10 operations; follow info.x-next or the Link header if you need more results. Shared operations retain all selector values."
    ]
  },
  "info": {
    "title": "Vimmerse",
    "version": "1.0.0",
    "description": "Vimmerse generates and edits images, videos, speech, sound effects and music, and runs template workflows and multi-scene stories, from text prompts and public media URLs. Every call is priced in credits by model tier, duration and quantity. The estimate routes return the exact credit charge before you commit, and video, media, story and workflow jobs are polled by id until they finish. This server is a pay-per-use, transparent proxy in front of Vimmerse's own API: it handles identity, payment, and proxying. Agents can purchase autonomously or with their human's approval. The complete verified paid surface is listed at /openapi.json, the source of truth for available operations. Each operation here carries its live price in x-payment-info. Use the operations and details here when they meet your needs. Filtered specs contain only matching operations; if you cannot find what you need here, use search or the service catalog. The live catalog at /manifest.json is authoritative for prices and any free included units (prices[].includedUnits) - some meters include free usage per account before any charge, reserved for agents claimed by a human with a verified email.",
    "contact": {
      "email": "support@vimmerse.net"
    },
    "x-guidance": "Start with the free seller advisor: POST https://agents.vimmerse.net/zcj/8514xm9ekf38/zeroclick/agent/quote with your goal and known budget or requirements. This operation costs $0 and requires only an x402 or MPP wallet proof; it returns a guide and never executes a purchase. Without a wallet, GET https://agents.vimmerse.net/zcj/8514xm9ekf38/zeroclick/agent/guide?goal=URL_ENCODED_TASK or POST to that guide. Other operations below are the direct API reference; their own prices and access requirements still apply. Call the operations listed in this document at https://agents.vimmerse.net. Each service's full price matrix, plans, and how to buy are at https://agents.vimmerse.net/zcj/8514xm9ekf38/services/{slug}; each operation's x-payment-info names the service it bills by slug (rates[].service). Slugs identify services in prices and usage reports and are never request values: when one operation serves several services, its request body schema lists the accepted values of the field that selects the service, so send one of those exactly as written. An unpaid call returns 402 Payment Required with a signed challenge; settle it with a supported payment method - x402 (Base USDC) or MPP (Tempo USDC) today - and retry with the proof attached. No upstream API key is needed, and an agent without a payment method can set one up instantly at no cost. Read GET https://agents.vimmerse.net/zcj/8514xm9ekf38/manifest.json for the live services, meters, plans, prices, and any free included units, and https://agents.vimmerse.net/zcj/8514xm9ekf38/llms-full.txt for the full agent guide, including how the free allowance works without funding (it requires an agent identity claimed by a human with a verified email). Every call also needs your agent credential: register once (recipe at https://agents.vimmerse.net/zcj/8514xm9ekf38/auth.md) and send Authorization: Bearer <token>, or ZC-Agent-Authorization: Bearer <token> alongside an MPP Payment credential; a call without it answers 401 bearer_required before any price is quoted."
  },
  "x-service-info": {
    "categories": [
      "ai",
      "media"
    ],
    "docs": {
      "homepage": "https://www.vimmerse.net",
      "apiReference": "https://agents.vimmerse.net/zcj/8514xm9ekf38/openapi.json",
      "llms": "https://agents.vimmerse.net/zcj/8514xm9ekf38/llms.txt"
    }
  },
  "externalDocs": {
    "url": "https://agents.vimmerse.net/zcj/8514xm9ekf38/llms-full.txt",
    "description": "How to authenticate, pay, and call this API; links the upstream API reference."
  },
  "servers": [
    {
      "url": "https://agents.vimmerse.net/zcj/8514xm9ekf38",
      "description": "Pay-per-use access to Vimmerse's API"
    }
  ],
  "security": [
    {
      "payPerUse": [],
      "agentBearer": []
    }
  ],
  "components": {
    "securitySchemes": {
      "payPerUse": {
        "type": "apiKey",
        "in": "header",
        "name": "x-payment",
        "description": "Pay-per-use access. An unpaid call returns 402 Payment Required with a signed challenge; settle it with a supported payment method (x402 or MPP today) and retry with the proof in this header (x402) or as Authorization: Payment (MPP; use ZC-Agent-Authorization for a separate buyer bearer). No upstream API key is needed, and an agent without a payment method can set one up instantly at no cost."
      },
      "agentBearer": {
        "type": "http",
        "scheme": "bearer",
        "description": "Agent identity credential, required on every call: register once (anonymous registration is one free API call; the recipe is at https://agents.vimmerse.net/zcj/8514xm9ekf38/auth.md), exchange the assertion for an access token, and send Authorization: Bearer <token> - or ZC-Agent-Authorization: Bearer <token> when Authorization carries an MPP Payment credential. A call without it answers 401 bearer_required before any price is quoted."
      },
      "sellerAgentX402": {
        "type": "apiKey",
        "in": "header",
        "name": "Payment-Signature",
        "description": "Signed $0 x402 proof from the 402 challenge"
      },
      "sellerAgentMpp": {
        "type": "http",
        "scheme": "Payment",
        "description": "Signed $0 MPP proof from the 402 challenge"
      }
    },
    "schemas": {
      "sds_juE72Zb8vmMBGwc46sF0s_335cf42083f21c33_ref0": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_335cf42083f21c33_ref1"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_335cf42083f21c33_ref1": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_671d530a6069f294_ref0": {
        "type": "object",
        "title": "EstimateAudioCreditsRequest",
        "required": [
          "option"
        ],
        "properties": {
          "option": {
            "type": "string",
            "title": "Generation Option",
            "description": "Model/tool `option` on the target audio endpoint (e.g. ElevenLabsTTS, ChirpTTS, MinimaxTTS, ElevenLabsSE, MMAudio, Lyria)."
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": ""
          },
          "app_name": {
            "type": "string",
            "title": "App Name",
            "default": "text-to-speech",
            "description": "Internal route id on the asset record (same as the target POST /audio/* route). Available values: `text-to-speech` (default), `text-to-audio`, `text-to-music`, `upload-audio` (0 credits)."
          },
          "duration": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration (seconds)",
            "description": "Same as `duration` on audio routes such as text-2-sound-effect."
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1
          },
          "audio_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Duration",
            "description": "Explicit seconds override (alias of duration for audio apps)."
          }
        },
        "description": "Body for POST /audio/estimate-credits."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_671d530a6069f294_ref1": {
        "type": "object",
        "title": "EstimateAssetCreditsResponse",
        "required": [
          "total_credits",
          "breakdown"
        ],
        "properties": {
          "breakdown": {
            "type": "object",
            "title": "Breakdown",
            "description": "Step-by-step pricing components.",
            "additionalProperties": true
          },
          "total_credits": {
            "type": "integer",
            "title": "Total Credits",
            "description": "Total credits that would be charged."
          }
        },
        "description": "Credit estimate for asset generation (anonymous; no user balance)."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_671d530a6069f294_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_671d530a6069f294_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_671d530a6069f294_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ea034de2605ace22_ref0": {
        "type": "object",
        "title": "MusicRequest",
        "properties": {
          "option": {
            "type": "string",
            "title": "Option",
            "default": "Lyria",
            "description": "`Lyria`."
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": "",
            "description": "Music description."
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ea034de2605ace22_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ea034de2605ace22_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ea034de2605ace22_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ea034de2605ace22_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e53f4f39e14c7e06_ref0": {
        "type": "object",
        "title": "SoundEffectsRequest",
        "properties": {
          "option": {
            "type": "string",
            "title": "Option",
            "default": "MMAudio",
            "description": "`ElevenLabsSE` or `MMAudio`."
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": "",
            "description": "Sound effects description."
          },
          "duration": {
            "type": "integer",
            "title": "Duration",
            "default": 5,
            "minimum": 1,
            "description": "Duration in seconds."
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e53f4f39e14c7e06_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e53f4f39e14c7e06_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e53f4f39e14c7e06_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e53f4f39e14c7e06_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_7aae71af191a83ff_ref0": {
        "type": "object",
        "title": "Text2SpeechRequest",
        "properties": {
          "voice": {
            "type": "string",
            "title": "Voice ID or name",
            "default": "AutoV"
          },
          "option": {
            "type": "string",
            "title": "Option",
            "default": "ElevenLabsTTS",
            "description": "`ElevenLabsTTS`, `ChirpTTS`, or `MinimaxTTS`."
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": "",
            "description": "Speech text."
          },
          "language": {
            "type": "string",
            "title": "Language",
            "default": "",
            "description": "Language code, e.g. `en-US`."
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_7aae71af191a83ff_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_7aae71af191a83ff_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_7aae71af191a83ff_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_7aae71af191a83ff_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_4013b140424b5488_ref0": {
        "type": "object",
        "title": "EditImageRequest",
        "required": [
          "image_url"
        ],
        "properties": {
          "option": {
            "type": "string",
            "title": "Option",
            "default": "RemoveText",
            "description": "Available values: `RemoveText`, `Upscale`, `LumaReframe`, `Inpaint`, `ExpandToAspectRatio`."
          },
          "prompt": {
            "type": "string",
            "title": "Text Prompt",
            "default": "",
            "description": "Text prompt for the regions to be modified/added."
          },
          "mask_url": {
            "type": "string",
            "title": "Mask Image URL",
            "default": ""
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "minimum": 1,
            "description": "Quantity of output images."
          },
          "image_url": {
            "type": "string",
            "title": "Base Image URL"
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "aspect_ratio": {
            "type": "string",
            "title": "Aspect Ratio",
            "default": "16:9",
            "examples": [
              "16:9",
              "4:3",
              "1:1",
              "3:4",
              "9:16"
            ]
          },
          "expand_method": {
            "type": "string",
            "title": "Expand Method",
            "default": "Outpaint",
            "description": "Only used for `ExpandToAspectRatio` option."
          },
          "expand_direction": {
            "type": "string",
            "title": "Expand Direction",
            "default": "center",
            "description": "Only used for `ExpandToAspectRatio` option."
          },
          "reframe_parameters": {
            "type": "string",
            "title": "Reframe Parameters",
            "default": "",
            "description": "JSON string for reframe parameters in pixels."
          }
        },
        "description": "Request body for POST /v2/image/edit-image. Content-Type: application/json."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_4013b140424b5488_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_4013b140424b5488_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_4013b140424b5488_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_4013b140424b5488_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_67bee184c7434f8a_ref0": {
        "type": "object",
        "title": "ElementsRequest",
        "required": [
          "image_urls"
        ],
        "properties": {
          "option": {
            "type": "string",
            "title": "Option",
            "default": "AutoI",
            "description": "Available values: `AutoI`, `FluxPro`, `Seedream`, `NanoBananaPro`, `FluxKontextPro`, `FluxKlein`, `GPTImage`, `NanoBanana` and `NanoBananaPro`."
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": "",
            "examples": [
              "Make image more realistic."
            ]
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1,
            "description": "Number of images to generate."
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "image_urls": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "title": "Element Image URLs",
            "minItems": 1,
            "description": "The first image is the main image and the rest are reference images. Max 4 URLs for `FluxKontextPro`, 6 for `Seedream`, 8 for `FluxPro`, and 10 for `GPTImage`, `FluxKlein`, `NanoBanana`, `NanoBananaT2`, and `NanoBananaPro`."
          },
          "swap_faces": {
            "type": "boolean",
            "title": "Swap Faces",
            "default": false,
            "description": "Swap the resulting faces with the original faces."
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "aspect_ratio": {
            "type": "string",
            "title": "Aspect Ratio",
            "default": "16:9",
            "pattern": "^(\\d+):(\\d+)$",
            "examples": [
              "21:9",
              "16:9",
              "4:3",
              "3:2",
              "1:1",
              "2:3",
              "3:4",
              "9:16",
              "9:21"
            ]
          },
          "enhance_image": {
            "type": "boolean",
            "title": "Enhance Image",
            "default": false,
            "description": "Enhances the image by applying 1× super-resolution during post-processing."
          }
        },
        "description": "Request body for POST /v2/image/elements. Content-Type: application/json."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_67bee184c7434f8a_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_67bee184c7434f8a_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_67bee184c7434f8a_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_67bee184c7434f8a_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_284f0b4df7f8eb38_ref0": {
        "type": "object",
        "title": "EstimateImageCreditsRequest",
        "required": [
          "option"
        ],
        "properties": {
          "option": {
            "type": "string",
            "title": "Generation Option",
            "description": "Model/tool `option` on the target image endpoint (e.g. NanoBanana, AutoI)."
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": "",
            "description": "Used for length-based pricing when applicable."
          },
          "app_name": {
            "type": "string",
            "title": "App Name",
            "default": "text-to-image",
            "description": "Internal route id stored on the asset record (same as the target POST /image/* route). Available values: `text-to-image` (default), `image-to-image`, `reimagine`, `face-swap`, `replace-bg`, `edit-image`, `image-elements`, `try-on`, `scene-image`, `upload-image` (0 credits)."
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1
          }
        },
        "description": "Body for POST /image/estimate-credits (pricing fields shared across image generation routes)."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_284f0b4df7f8eb38_ref1": {
        "type": "object",
        "title": "EstimateAssetCreditsResponse",
        "required": [
          "total_credits",
          "breakdown"
        ],
        "properties": {
          "breakdown": {
            "type": "object",
            "title": "Breakdown",
            "description": "Step-by-step pricing components.",
            "additionalProperties": true
          },
          "total_credits": {
            "type": "integer",
            "title": "Total Credits",
            "description": "Total credits that would be charged."
          }
        },
        "description": "Credit estimate for asset generation (anonymous; no user balance)."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_284f0b4df7f8eb38_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_284f0b4df7f8eb38_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_284f0b4df7f8eb38_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_97d8d35c46d7fb81_ref0": {
        "type": "object",
        "title": "FaceSwapRequest",
        "required": [
          "image_urls"
        ],
        "properties": {
          "option": {
            "type": "string",
            "title": "Face swap method",
            "default": "NanoBananaFaceSwap",
            "description": "Available values: `NanoBananaFaceSwap`, `SeedreamFaceSwap`, `MagicFaceSwap`, `EaselFaceSwap`, and `SegmindFaceSwap`."
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "image_urls": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "title": "Image URLs",
            "minItems": 2,
            "description": "The first URL is the target image; the rest are human/face reference images."
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "order_indices": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              {
                "type": "null"
              }
            ],
            "title": "Order Indices",
            "description": "Indices of faces in the target image to swap (left-to-right, starting at 0)."
          },
          "face_only_mode": {
            "type": "boolean",
            "title": "Face swap only",
            "default": true,
            "description": "When true, only the face is swapped (not the entire head)."
          },
          "multi_face_mode": {
            "type": "boolean",
            "title": "Multi face swap mode",
            "default": true
          }
        },
        "description": "Request body for POST /v2/image/face-swap. Content-Type: application/json."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_97d8d35c46d7fb81_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_97d8d35c46d7fb81_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_97d8d35c46d7fb81_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_97d8d35c46d7fb81_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_333c4b6f59c504d9_ref0": {
        "type": "object",
        "title": "Image2ImageRequest",
        "required": [
          "image_url"
        ],
        "properties": {
          "option": {
            "enum": [
              "AutoI",
              "Seedream",
              "NanoBananaT2",
              "NanoBananaPro",
              "QwenImage",
              "GPTFast",
              "GPTImage",
              "FluxKlein",
              "FluxPro",
              "FluxTurbo",
              "ImageUtilsDepth",
              "NanoBanana",
              "StableDiffusion3.5"
            ],
            "type": "string",
            "title": "Option",
            "default": "AutoI"
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": "",
            "examples": [
              "Make image more realistic."
            ],
            "description": "Text prompt to edit your image."
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1,
            "description": "Number of images to generate."
          },
          "image_url": {
            "type": "string",
            "title": "Image URL",
            "description": "URL of the source image."
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "aspect_ratio": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^(\\d+):(\\d+)$"
              },
              {
                "type": "null"
              }
            ],
            "title": "Aspect Ratio"
          },
          "enhance_image": {
            "type": "boolean",
            "title": "Enhance Image",
            "default": false,
            "description": "Enhances the image by applying 1× super-resolution during post-processing."
          }
        },
        "description": "Request body for POST /v2/image/image-2-image. Content-Type: application/json."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_333c4b6f59c504d9_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_333c4b6f59c504d9_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_333c4b6f59c504d9_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_333c4b6f59c504d9_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_75141e2d075abf65_ref0": {
        "type": "object",
        "title": "ReplaceBackgroundRequest",
        "required": [
          "image_url"
        ],
        "properties": {
          "option": {
            "type": "string",
            "title": "Option",
            "default": "RemoveBackground",
            "description": "Option to apply. Available values: `RemoveBackground`, `ReplaceBackground`, `RestyleBackground`."
          },
          "image_url": {
            "type": "string",
            "title": "Base Image URL"
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "image2_url": {
            "type": "string",
            "title": "Additional Image URL (Optional)",
            "default": "",
            "description": "Optional second image used for background replacement."
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          }
        },
        "description": "Request body for POST /v2/image/replace-background. Content-Type: application/json."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_75141e2d075abf65_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_75141e2d075abf65_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_75141e2d075abf65_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_75141e2d075abf65_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ac187626bbb6c308_ref0": {
        "type": "object",
        "title": "Text2ImageRequest",
        "properties": {
          "option": {
            "enum": [
              "AutoI",
              "Seedream",
              "NanoBananaT2",
              "NanoBananaPro",
              "QwenImage",
              "GPTFast",
              "GPTImage",
              "FluxKlein",
              "FluxPro",
              "FluxTurbo",
              "NanoBanana",
              "StableDiffusion3.5"
            ],
            "type": "string",
            "title": "Option",
            "default": "AutoI",
            "description": "If `AutoI` is selected, one of the options will be selected automatically."
          },
          "prompt": {
            "type": "string",
            "title": "Text Prompt",
            "default": "Shot of Nike shoes on colorful background"
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "aspect_ratio": {
            "type": "string",
            "title": "Aspect Ratio",
            "default": "16:9",
            "pattern": "^(\\d+):(\\d+)$",
            "description": "Available values: ['21:9', '16:9', '4:3', '3:2', '1:1', '2:3', '3:4', '9:16', '9:21']"
          },
          "enhance_image": {
            "type": "boolean",
            "title": "Enhance Image",
            "default": false,
            "description": "Enhances the image by applying 1× super-resolution during post-processing."
          }
        },
        "description": "Request body for POST /v2/image/text-2-image. Content-Type: application/json."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ac187626bbb6c308_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ac187626bbb6c308_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ac187626bbb6c308_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ac187626bbb6c308_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_33185fda9dc59158_ref0": {
        "type": "object",
        "title": "TryOnRequest",
        "required": [
          "human_image_url",
          "clothes_image_url"
        ],
        "properties": {
          "option": {
            "type": "string",
            "title": "Virtual Try On Option",
            "default": "NanoBananaTryOn",
            "description": "Available values: `NanoBananaTryOn`, `SeedreamTryOn`, `KlingTryOn`, `FashnTryOn`, `KontextTryOn`."
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "human_image_url": {
            "type": "string",
            "title": "URL of Human Image"
          },
          "clothes_image_url": {
            "type": "string",
            "title": "URL of Clothes Image"
          }
        },
        "description": "Request body for POST /v2/image/try-on. Content-Type: application/json."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_33185fda9dc59158_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_33185fda9dc59158_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_33185fda9dc59158_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_33185fda9dc59158_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_2d7154ea3285d66f_ref0": {
        "type": "object",
        "title": "CreateMediaV2Request",
        "properties": {
          "loop": {
            "type": "integer",
            "title": "Loop",
            "default": 1,
            "maximum": 6,
            "minimum": 1,
            "description": "Loop count for generation."
          },
          "title": {
            "type": "string",
            "title": "Title",
            "default": "",
            "description": "Media title."
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": "",
            "description": "Text prompt used for generation."
          },
          "duration": {
            "type": "integer",
            "title": "Scene Duration",
            "default": 5,
            "maximum": 30,
            "minimum": 1,
            "description": "Scene duration in seconds."
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1,
            "description": "Number of generated outputs."
          },
          "video_tool": {
            "enum": [
              "Auto",
              "AutoT3",
              "AutoT1",
              "HappyHorse",
              "Grok",
              "KlingAI",
              "KlingT3",
              "KlingPro",
              "GoogleOmni",
              "VeoLite",
              "VeoFast",
              "Veo",
              "MinimaxHailuo",
              "MinimaxTurbo",
              "Seedance",
              "SeedanceFast",
              "SeedanceT6",
              "Pixverse",
              "PixverseT3",
              "Hunyuan",
              "Vidu",
              "PVideo",
              "StaticMotion",
              "Wan",
              "TryOnVideo"
            ],
            "type": "string",
            "title": "Video Tool",
            "default": "Auto",
            "description": "Motion/generation tool option."
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": "",
            "description": "Media description."
          },
          "media_items": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_2d7154ea3285d66f_ref1"
                }
              },
              {
                "type": "null"
              }
            ],
            "title": "Media Items",
            "examples": [
              [
                {
                  "url": "https://example.com/start.png",
                  "type": "image",
                  "position": "First"
                },
                {
                  "url": "https://example.com/end.png",
                  "type": "image",
                  "position": "Last"
                }
              ]
            ],
            "description": "Array of image or video inputs. Send a JSON array of objects, not a string. Each object is {\"type\":\"image\"|\"video\",\"url\":\"https://...\",\"position\":\"First\"|\"Last\"}. \"First\" is the start frame. \"Last\" is the end frame. One picture: [{\"type\":\"image\",\"url\":\"https://example.com/start.png\",\"position\":\"First\"}]. Start and end: add a second object with position Last. url must be a public https URL. Do not upload a file here and do not put audio in this array. Audio belongs in audio_option."
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL",
            "description": "Callback URL to receive status updates."
          },
          "aspect_ratio": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Aspect Ratio",
            "description": "Optional output aspect ratio."
          },
          "audio_option": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_2d7154ea3285d66f_ref2"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Option",
            "examples": [
              {
                "narrator": "Sarah",
                "narration": "Introducing the next generation of smart performance.",
                "bg_music_prompt": "Modern cinematic background with soft electronic pulses"
              }
            ],
            "description": "JSON object for speech and music. Not a string. Keys: narrator (voice name), narration (script), narration_url (public mp3/wav; wins over narrator and narration), bg_music_prompt (music description), bg_music_url (public mp3/wav; wins over bg_music_prompt), native_audio (boolean). Example: {\"narrator\":\"Sarah\",\"narration\":\"Introducing the next generation of smart performance.\"}"
          },
          "pipeline_mode": {
            "enum": [
              "Advanced",
              "Quick"
            ],
            "type": "string",
            "title": "Pipeline Mode",
            "default": "Advanced",
            "examples": [
              "Advanced",
              "Quick"
            ],
            "description": "Advanced: preprocess input images (fix orientation, rescale, expand to aspect ratio) and run video post-processing (e.g. looping when loop > 1). Quick: use images as-is and skip post-processing; faster, less processing."
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_2d7154ea3285d66f_ref1": {
        "type": "object",
        "title": "MediaItem",
        "examples": [
          {
            "url": "https://example.com/start.png",
            "type": "image",
            "position": "First"
          }
        ],
        "properties": {
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "URL",
            "examples": [
              "https://example.com/start.png"
            ],
            "description": "Public https URL of the file. The server downloads it with no cookies and no Authorization header. Do not send a local path, a data URI, or a multipart file on this field."
          },
          "type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Type",
            "examples": [
              "image",
              "video"
            ],
            "description": "Use \"image\" for a still frame (png, jpg, or webp) or \"video\" for an mp4. \"First\" / \"Last\" go in position. Audio items are ignored by generation; put speech and music in audio_option."
          },
          "position": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Position",
            "examples": [
              "First",
              "Last"
            ],
            "description": "\"First\" is the start frame. \"Last\" is the end frame. One picture: one object with position First. A start-to-end transition: two objects, one First and one Last."
          }
        },
        "description": "One input in media_items. Fields are optional so older payloads still validate.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_2d7154ea3285d66f_ref2": {
        "type": "object",
        "title": "MediaAudioOption",
        "examples": [
          {
            "narrator": "Sarah",
            "narration": "Introducing the next generation of smart performance.",
            "bg_music_prompt": "Modern cinematic background with soft electronic pulses"
          }
        ],
        "properties": {
          "narrator": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narrator",
            "examples": [
              "Sarah"
            ],
            "description": "Voice for narration text. Voices: AutoV, Rachel, Aria, Roger, Sarah, Laura, Charlie, George, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill. Ignored when narration_url is set."
          },
          "narration": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narration",
            "examples": [
              "Introducing the next generation of smart performance."
            ],
            "description": "Spoken script. The narrator voice reads this text. Ignored when narration_url is set."
          },
          "bg_music_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Background Music URL",
            "examples": [
              "https://example.com/background.mp3"
            ],
            "description": "Public https URL of a music file (mp3 or wav). When set, bg_music_prompt is ignored."
          },
          "native_audio": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Native Audio",
            "examples": [
              false
            ],
            "description": "When true, the video model adds its own sound and lip sync on tools that support it."
          },
          "narration_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narration URL",
            "examples": [
              "https://example.com/voiceover.mp3"
            ],
            "description": "Public https URL of a pre-recorded voice track (mp3 or wav). When set, narrator and narration are ignored."
          },
          "bg_music_prompt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Background Music Prompt",
            "examples": [
              "Modern cinematic background with soft electronic pulses"
            ],
            "description": "Text prompt for generated background music. Ignored when bg_music_url is set."
          }
        },
        "description": "Audio for POST /v2/media. JSON object, not a string.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_2d7154ea3285d66f_ref3": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_2d7154ea3285d66f_ref4"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_2d7154ea3285d66f_ref4": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0999832a1a0f836a_ref0": {
        "type": "object",
        "title": "EstimateMediaCreditsRequest",
        "properties": {
          "duration": {
            "type": "integer",
            "title": "Scene Duration",
            "default": 5,
            "maximum": 15,
            "minimum": 1,
            "description": "Target clip duration in seconds (same as create media)."
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1,
            "description": "Number of generated outputs."
          },
          "video_tool": {
            "enum": [
              "Auto",
              "AutoT3",
              "AutoT1",
              "HappyHorse",
              "Grok",
              "KlingAI",
              "KlingT3",
              "KlingPro",
              "GoogleOmni",
              "VeoLite",
              "VeoFast",
              "Veo",
              "MinimaxHailuo",
              "MinimaxTurbo",
              "Seedance",
              "SeedanceFast",
              "SeedanceT6",
              "Pixverse",
              "PixverseT3",
              "Hunyuan",
              "Vidu",
              "PVideo",
              "StaticMotion",
              "Wan",
              "TryOnVideo"
            ],
            "type": "string",
            "title": "Video Tool",
            "default": "Auto",
            "description": "Motion/generation tool option (same as create media)."
          },
          "audio_option": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0999832a1a0f836a_ref1"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Option",
            "examples": [
              {
                "narrator": "Sarah",
                "narration": "Introducing the next generation of smart performance.",
                "bg_music_prompt": "Modern cinematic background with soft electronic pulses"
              }
            ],
            "description": "JSON object for speech and music. Not a string. Keys: narrator (voice name), narration (script), narration_url (public mp3/wav; wins over narrator and narration), bg_music_prompt (music description), bg_music_url (public mp3/wav; wins over bg_music_prompt), native_audio (boolean). Example: {\"narrator\":\"Sarah\",\"narration\":\"Introducing the next generation of smart performance.\"}"
          }
        },
        "description": "Body for estimating v2 media generation credits (same pricing fields as create, without starting a job)."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0999832a1a0f836a_ref1": {
        "type": "object",
        "title": "MediaAudioOption",
        "examples": [
          {
            "narrator": "Sarah",
            "narration": "Introducing the next generation of smart performance.",
            "bg_music_prompt": "Modern cinematic background with soft electronic pulses"
          }
        ],
        "properties": {
          "narrator": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narrator",
            "examples": [
              "Sarah"
            ],
            "description": "Voice for narration text. Voices: AutoV, Rachel, Aria, Roger, Sarah, Laura, Charlie, George, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill. Ignored when narration_url is set."
          },
          "narration": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narration",
            "examples": [
              "Introducing the next generation of smart performance."
            ],
            "description": "Spoken script. The narrator voice reads this text. Ignored when narration_url is set."
          },
          "bg_music_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Background Music URL",
            "examples": [
              "https://example.com/background.mp3"
            ],
            "description": "Public https URL of a music file (mp3 or wav). When set, bg_music_prompt is ignored."
          },
          "native_audio": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Native Audio",
            "examples": [
              false
            ],
            "description": "When true, the video model adds its own sound and lip sync on tools that support it."
          },
          "narration_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narration URL",
            "examples": [
              "https://example.com/voiceover.mp3"
            ],
            "description": "Public https URL of a pre-recorded voice track (mp3 or wav). When set, narrator and narration are ignored."
          },
          "bg_music_prompt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Background Music Prompt",
            "examples": [
              "Modern cinematic background with soft electronic pulses"
            ],
            "description": "Text prompt for generated background music. Ignored when bg_music_url is set."
          }
        },
        "description": "Audio for POST /v2/media. JSON object, not a string.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0999832a1a0f836a_ref2": {
        "type": "object",
        "title": "EstimateMediaCreditsResponse",
        "required": [
          "total_credits",
          "breakdown"
        ],
        "properties": {
          "breakdown": {
            "type": "object",
            "title": "Breakdown",
            "description": "Step-by-step components: model base, duration tier, quantity, native_audio doubling, TTS/Lyria add-ons.",
            "additionalProperties": true
          },
          "total_credits": {
            "type": "integer",
            "title": "Total Credits",
            "description": "Total credits that would be charged for one create request with these parameters."
          }
        },
        "description": "Credit estimate aligned with POST /v2/media billing logic (anonymous; no user balance)."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0999832a1a0f836a_ref3": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0999832a1a0f836a_ref4"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0999832a1a0f836a_ref4": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0369c9c797669d0e_ref0": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0369c9c797669d0e_ref1"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0369c9c797669d0e_ref1": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_72779ca50ac9fc4b_ref0": {
        "type": "object",
        "title": "EstimateStoryCreditsRequest",
        "properties": {
          "flow": {
            "enum": [
              "auto",
              "manual"
            ],
            "type": "string",
            "title": "Flow",
            "default": "auto",
            "description": "`auto` — idea/url/images-2-video (per-second scene pricing). `manual` — step-by-step workflow; credits are dynamic based on storyboard and scene_count."
          },
          "loop": {
            "type": "integer",
            "title": "Motion Loop Count",
            "default": 1,
            "maximum": 6,
            "minimum": 1,
            "description": "Ignored for `manual` flow."
          },
          "duration": {
            "type": "integer",
            "title": "Clip Duration",
            "default": 5,
            "maximum": 30,
            "minimum": 1,
            "description": "Ignored for `manual` flow."
          },
          "video_tool": {
            "enum": [
              "Auto",
              "KlingAI",
              "Seedance",
              "Pixverse",
              "VeoFast",
              "Vidu",
              "AutoT1",
              "VeoLite",
              "PVideo"
            ],
            "type": "string",
            "title": "Video Tool",
            "default": "Auto"
          },
          "scene_count": {
            "type": "integer",
            "title": "Number of Scenes",
            "default": 3,
            "minimum": 1
          },
          "audio_option": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_72779ca50ac9fc4b_ref1"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Option",
            "examples": [
              {
                "narrator": "AutoV",
                "has_bg_music": true,
                "native_audio": false,
                "has_narration": true
              }
            ],
            "description": "JSON object for story audio. Not a string, and not the media audio_option shape. Keys: has_bg_music (boolean), has_narration (boolean), native_audio (boolean), narrator (voice name). When native_audio is true, narration is not used. Example: {\"has_bg_music\":true,\"has_narration\":true,\"native_audio\":false,\"narrator\":\"AutoV\"} For auto flow, native_audio doubles video credits when true."
          },
          "scene_duration": {
            "type": "integer",
            "title": "Scene Duration",
            "default": 5,
            "maximum": 30,
            "minimum": 1,
            "description": "Seconds per scene (auto flow)."
          }
        },
        "description": "Body for estimating v2 story credits without creating a batch."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_72779ca50ac9fc4b_ref1": {
        "type": "object",
        "title": "StoryAudioOption",
        "examples": [
          {
            "narrator": "AutoV",
            "has_bg_music": true,
            "native_audio": false,
            "has_narration": true
          }
        ],
        "properties": {
          "narrator": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narrator",
            "examples": [
              "AutoV"
            ],
            "description": "Voice used when has_narration is true. Voices: AutoV, Rachel, Aria, Roger, Sarah, Laura, Charlie, George, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill."
          },
          "has_bg_music": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Background Music",
            "examples": [
              false
            ],
            "description": "When true, generate background music. Omit to keep the default (false when native_audio is used)."
          },
          "native_audio": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Native Audio",
            "examples": [
              true
            ],
            "description": "When true, the video model adds sound and lip sync and narration is not used. Omit to keep the default (true unless narration is requested)."
          },
          "has_narration": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narration",
            "examples": [
              false
            ],
            "description": "When true, generate spoken narration (sets native_audio to false). Omit to keep the default (false unless narration is requested)."
          }
        },
        "description": "Audio for story endpoints. JSON object, not a string. This is not the media audio_option shape.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_72779ca50ac9fc4b_ref2": {
        "type": "object",
        "title": "EstimateStoryCreditsResponse",
        "required": [
          "total_credits",
          "breakdown"
        ],
        "properties": {
          "breakdown": {
            "type": "object",
            "title": "Breakdown",
            "description": "Step-by-step pricing components.",
            "additionalProperties": true
          },
          "total_credits": {
            "type": "integer",
            "title": "Total Credits",
            "description": "Total credits that would be charged for the given flow and parameters."
          }
        },
        "description": "Credit estimate aligned with v2 story billing (anonymous; no user balance)."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_72779ca50ac9fc4b_ref3": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_72779ca50ac9fc4b_ref4"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_72779ca50ac9fc4b_ref4": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref0": {
        "type": "object",
        "title": "Idea2VideoRequest",
        "required": [
          "idea"
        ],
        "properties": {
          "idea": {
            "type": "string",
            "title": "Idea",
            "examples": [
              "Create a realistic winter commercial for SkinRevive Moisturiser set in snowy mountains. Three girls are on a winter camping trip. Show two girls outside the camp, dressed in warm jackets, taking fun photos together in the snowy mountains. Soft snowfall, visible cold breath, playful interaction. Meanwhile, one girl is sitting inside the tent, wrapped in a blanket, looking hesitant and afraid to step outside because of the cold and her dry, irritated hands. She peeks out while the others call her to join, but she hesitates. Then one girl comes inside the tent, sits with her, smiles, and shows SkinRevive Moisturiser. She gently applies it on her friend’s dry hands. Show close-up macro shots: smooth creamy texture, instant hydration, natural skin transformation. The inside girl now feels confident. She steps outside slowly, smiles, and joins her friends. Show them laughing, posing, and taking photos of each other against the beautiful snowy mountain background. Natural warm emotions, winter glow, soft daylight. End with a clean hero shot of SkinRevive Moisturiser placed on a wooden camping table with snowflakes falling softly around it. Cinematic, high-detail, warm winter storytelling mood."
            ],
            "description": "Detailed text description of your story concept."
          },
          "style": {
            "enum": [
              "AutoS",
              "Cinematic Narrative",
              "Neo-Nostalgia / Film Grain",
              "Photorealistic",
              "Authentic Minimal",
              "Claymation",
              "3D Pixar",
              "Cartoon Comic",
              "2D Anime",
              "Oil Painting",
              "Cyberpunk Futueristic Aesthetic"
            ],
            "type": "string",
            "title": "Story Style",
            "default": "AutoS",
            "examples": [
              "AutoS",
              "Cinematic Narrative",
              "3D Pixar",
              "Photorealistic"
            ],
            "description": "Visual storytelling style. 'AutoS' lets AI choose automatically. Other options enforce a specific style direction."
          },
          "title": {
            "type": "string",
            "title": "Story Title",
            "default": "",
            "examples": [
              "My Story Video"
            ]
          },
          "elements": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref1"
              },
              {
                "type": "null"
              }
            ],
            "title": "Story Elements",
            "examples": [
              {
                "objects": [
                  {
                    "name": "Logo",
                    "image_url": "https://example.com/logo.png",
                    "description": "Brand logo, flat, on a transparent background."
                  }
                ],
                "characters": [
                  {
                    "name": "Whiskers",
                    "image_url": "https://example.com/whiskers.png",
                    "description": "A small rusty-red squirrel with a bushy tail, Pixar-style 3D."
                  }
                ],
                "environments": [
                  {
                    "name": "Sunny Meadow",
                    "image_url": "",
                    "description": "A golden meadow with wildflowers and a clear blue sky."
                  }
                ]
              }
            ],
            "description": "JSON object of characters, environments, and objects you already have. Do not include scenes. Each list item is {name, description, image_url}. image_url is a public https URL of an existing picture. Leave image_url empty to generate the picture later. Example: {\"objects\":[{\"name\":\"Logo\",\"description\":\"Brand logo, flat.\",\"image_url\":\"https://example.com/logo.png\"}]}"
          },
          "language": {
            "enum": [
              "Arabic",
              "Chinese",
              "English",
              "French",
              "German",
              "Hindi",
              "Japanese",
              "Korean",
              "Spanish",
              "Turkish"
            ],
            "type": "string",
            "title": "Language",
            "default": "English",
            "examples": [
              "English",
              "Spanish",
              "French",
              "German",
              "Japanese"
            ]
          },
          "image_tool": {
            "enum": [
              "AutoI",
              "Seedream",
              "FluxTurbo",
              "NanoBanana",
              "QwenImage"
            ],
            "type": "string",
            "title": "Image Generation Model",
            "default": "AutoI",
            "examples": [
              "AutoI",
              "Seedream",
              "FluxTurbo",
              "NanoBanana",
              "QwenImage"
            ]
          },
          "video_tool": {
            "enum": [
              "Auto",
              "KlingAI",
              "Seedance",
              "Pixverse",
              "VeoFast",
              "Vidu",
              "AutoT1",
              "VeoLite",
              "PVideo"
            ],
            "type": "string",
            "title": "Video Animation Method",
            "default": "Auto",
            "examples": [
              "Auto",
              "KlingAI",
              "Seedance",
              "Pixverse",
              "VeoFast",
              "Vidu",
              "AutoT1",
              "VeoLite",
              "PVideo"
            ]
          },
          "scene_count": {
            "type": "integer",
            "title": "Number of Scenes",
            "default": 3,
            "minimum": 1,
            "examples": [
              3,
              5,
              7
            ]
          },
          "webhook_url": {
            "type": "string",
            "title": "Webhook URL",
            "default": ""
          },
          "aspect_ratio": {
            "enum": [
              "16:9",
              "4:3",
              "1:1",
              "3:4",
              "9:16"
            ],
            "type": "string",
            "title": "Aspect Ratio",
            "default": "16:9",
            "examples": [
              "16:9",
              "4:3",
              "1:1",
              "3:4",
              "9:16"
            ]
          },
          "audio_option": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref3"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Configuration",
            "examples": [
              {
                "narrator": "AutoV",
                "has_bg_music": true,
                "native_audio": false,
                "has_narration": true
              },
              {
                "native_audio": true
              }
            ],
            "description": "JSON object for story audio. Not a string, and not the media audio_option shape. Keys: has_bg_music (boolean), has_narration (boolean), native_audio (boolean), narrator (voice name). When native_audio is true, narration is not used. Example: {\"has_bg_music\":true,\"has_narration\":true,\"native_audio\":false,\"narrator\":\"AutoV\"}"
          },
          "is_transition": {
            "type": "boolean",
            "title": "Enable Transitions",
            "default": false,
            "examples": [
              false,
              true
            ]
          },
          "scene_duration": {
            "type": "integer",
            "title": "Scene Duration",
            "default": 5,
            "maximum": 30,
            "minimum": 1,
            "description": "Duration per scene in seconds. The supported values vary based on video tool selected."
          }
        },
        "description": "Request body for POST /story/idea-2-video. Send with Content-Type: application/json."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref1": {
        "type": "object",
        "title": "StoryElementsInput",
        "examples": [
          {
            "objects": [
              {
                "name": "Logo",
                "image_url": "https://example.com/logo.png",
                "description": "Brand logo, flat, on a transparent background."
              }
            ],
            "characters": [
              {
                "name": "Whiskers",
                "image_url": "https://example.com/whiskers.png",
                "description": "A small rusty-red squirrel with a bushy tail, Pixar-style 3D."
              }
            ],
            "environments": [
              {
                "name": "Sunny Meadow",
                "image_url": "",
                "description": "A golden meadow with wildflowers and a clear blue sky."
              }
            ]
          }
        ],
        "properties": {
          "objects": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref2"
                }
              },
              {
                "type": "null"
              }
            ],
            "title": "Objects",
            "description": "Props, products, and logos. Each item has name, description, and image_url."
          },
          "characters": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref2"
                }
              },
              {
                "type": "null"
              }
            ],
            "title": "Characters",
            "description": "People or creatures. Each item has name, description, and image_url."
          },
          "environments": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref2"
                }
              },
              {
                "type": "null"
              }
            ],
            "title": "Environments",
            "description": "Locations and backgrounds. Each item has name, description, and image_url."
          }
        },
        "description": "Pre-defined story elements. Extra keys are kept so older payloads are not dropped.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref2": {
        "type": "object",
        "title": "StoryElementInput",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name",
            "examples": [
              "Whiskers"
            ],
            "description": "Short distinct name. Scene text refers to this name, so keep the spelling identical everywhere."
          },
          "image_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image URL",
            "examples": [
              "https://example.com/whiskers.png"
            ],
            "description": "Public https URL of an existing picture of this character, place, or object. This is how you pass a product photo or logo. Omit it, or send an empty string, when the picture should be generated later."
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description",
            "examples": [
              "A small rusty-red squirrel with a bushy tail, Pixar-style 3D."
            ],
            "description": "Visual description: style, appearance, materials, and colors. Do not put the image URL here."
          }
        },
        "description": "One character, environment, or object. Put an existing picture in image_url.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref3": {
        "type": "object",
        "title": "StoryAudioOption",
        "examples": [
          {
            "narrator": "AutoV",
            "has_bg_music": true,
            "native_audio": false,
            "has_narration": true
          }
        ],
        "properties": {
          "narrator": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narrator",
            "examples": [
              "AutoV"
            ],
            "description": "Voice used when has_narration is true. Voices: AutoV, Rachel, Aria, Roger, Sarah, Laura, Charlie, George, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill."
          },
          "has_bg_music": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Background Music",
            "examples": [
              false
            ],
            "description": "When true, generate background music. Omit to keep the default (false when native_audio is used)."
          },
          "native_audio": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Native Audio",
            "examples": [
              true
            ],
            "description": "When true, the video model adds sound and lip sync and narration is not used. Omit to keep the default (true unless narration is requested)."
          },
          "has_narration": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narration",
            "examples": [
              false
            ],
            "description": "When true, generate spoken narration (sets native_audio to false). Omit to keep the default (false unless narration is requested)."
          }
        },
        "description": "Audio for story endpoints. JSON object, not a string. This is not the media audio_option shape.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref4": {
        "type": "object",
        "title": "CustomerStoryResponse",
        "properties": {
          "id": {
            "type": "string",
            "title": "ID",
            "default": ""
          },
          "idea": {
            "type": "string",
            "title": "Idea",
            "default": "",
            "description": "Idea of the story"
          },
          "title": {
            "type": "string",
            "title": "Title",
            "default": ""
          },
          "status": {
            "type": "string",
            "title": "Status",
            "default": ""
          },
          "video_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video URL"
          },
          "all_medias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref9"
            },
            "title": "All Medias",
            "description": "Generated media records for this story. Each record's media_items array uses {type, url, position}."
          },
          "created_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "storyboard": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref5"
              },
              {
                "type": "null"
              }
            ],
            "title": "Storyboard",
            "description": "Storyboard"
          },
          "updated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL",
            "description": "Webhook URL is called after batch or story is finished"
          },
          "aspect_ratio": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Aspect Ratio"
          },
          "used_credits": {
            "type": "integer",
            "title": "Used Credits",
            "default": 0
          },
          "is_transition": {
            "type": "boolean",
            "title": "Enable Transitions",
            "default": false
          },
          "progress_percentage": {
            "type": "integer",
            "title": "Progress Percentage",
            "default": 0
          }
        },
        "description": "Customer Story Response"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref5": {
        "type": "object",
        "title": "StoryboardResponse",
        "properties": {
          "music": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref8"
              },
              {
                "type": "null"
              }
            ]
          },
          "scenes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref6"
            },
            "title": "Scenes",
            "description": "List of scenes"
          },
          "objects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref7"
            },
            "title": "Objects",
            "description": "List of objects"
          },
          "characters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref7"
            },
            "title": "Characters",
            "description": "List of characters"
          },
          "environments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref7"
            },
            "title": "Environments",
            "description": "List of environments"
          }
        },
        "description": "Full storyboard (scenes, characters, music, environments, objects).",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref6": {
        "type": "object",
        "title": "StoryboardSceneResponse",
        "properties": {
          "name": {
            "type": "string",
            "title": "Name",
            "default": ""
          },
          "narrator": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narrator",
            "description": "Spoken line for this scene."
          },
          "image_url": {
            "type": "string",
            "title": "Image URL",
            "default": "",
            "description": "Public https URL of the scene still. Empty until the scene image exists."
          },
          "narration_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narration URL",
            "description": "Public https URL of a narration file for this scene."
          },
          "image_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image Description"
          },
          "video_description": {
            "type": "string",
            "title": "Video Description",
            "default": "",
            "description": "Motion prompt for this scene."
          }
        },
        "description": "Storyboard scene with video/image descriptions and narrator text.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref7": {
        "type": "object",
        "title": "StoryElementItemResponse",
        "properties": {
          "name": {
            "type": "string",
            "title": "Name",
            "default": "",
            "description": "Short distinct name used in scene text."
          },
          "image_url": {
            "type": "string",
            "title": "Image URL",
            "default": "",
            "description": "Public https URL of an existing picture. Empty when the picture is generated later."
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": "",
            "description": "Visual description. The picture URL goes in image_url."
          }
        },
        "description": "Single character, environment, or object in story elements.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref8": {
        "type": "object",
        "title": "StoryboardMusicResponse",
        "properties": {
          "lyrics": {
            "type": "string",
            "title": "Lyrics",
            "default": ""
          },
          "music_url": {
            "type": "string",
            "title": "Music URL",
            "default": "",
            "description": "Public https URL of a music file."
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": "",
            "description": "Music prompt: genre, tempo, instruments, mood."
          }
        },
        "description": "Storyboard music (description, lyrics, music_url).",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref9": {
        "type": "object",
        "title": "CustomerMediaResponse",
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "default": ""
          },
          "title": {
            "type": "string",
            "title": "Title",
            "default": ""
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": ""
          },
          "result": {
            "type": "array",
            "items": {},
            "title": "Generated Video URLs",
            "default": []
          },
          "version": {
            "type": "string",
            "title": "Version",
            "default": "3"
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1,
            "description": "Number of generated outputs."
          },
          "created_at": {
            "type": "string",
            "title": "Created At",
            "default": ""
          },
          "resolution": {
            "type": "array",
            "items": {},
            "title": "Resolution",
            "default": []
          },
          "updated_at": {
            "type": "string",
            "title": "Updated At",
            "default": ""
          },
          "video_tool": {
            "enum": [
              "Auto",
              "AutoT3",
              "AutoT1",
              "HappyHorse",
              "Grok",
              "KlingAI",
              "KlingT3",
              "KlingPro",
              "GoogleOmni",
              "VeoLite",
              "VeoFast",
              "Veo",
              "MinimaxHailuo",
              "MinimaxTurbo",
              "Seedance",
              "SeedanceFast",
              "SeedanceT6",
              "Pixverse",
              "PixverseT3",
              "Hunyuan",
              "Vidu",
              "PVideo",
              "StaticMotion",
              "Wan",
              "TryOnVideo"
            ],
            "type": "string",
            "title": "Video Tool",
            "default": "Auto",
            "description": "Motion/generation tool option (same as create media)."
          },
          "customer_id": {
            "type": "string",
            "title": "Customer ID",
            "default": ""
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          },
          "media_items": {
            "type": "array",
            "items": {},
            "title": "Media Items",
            "examples": [
              [
                {
                  "url": "https://example.com/start.png",
                  "type": "image",
                  "position": "First"
                },
                {
                  "url": "https://example.com/end.png",
                  "type": "image",
                  "position": "Last"
                }
              ]
            ],
            "description": "Array of image or video inputs. Send a JSON array of objects, not a string. Each object is {\"type\":\"image\"|\"video\",\"url\":\"https://...\",\"position\":\"First\"|\"Last\"}. \"First\" is the start frame. \"Last\" is the end frame. One picture: [{\"type\":\"image\",\"url\":\"https://example.com/start.png\",\"position\":\"First\"}]. Start and end: add a second object with position Last. url must be a public https URL. Do not upload a file here and do not put audio in this array. Audio belongs in audio_option."
          },
          "webhook_url": {
            "type": "string",
            "title": "Webhook URL is called when status of the media has been updated.",
            "default": ""
          },
          "audio_option": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Option",
            "examples": [
              {
                "narrator": "Sarah",
                "narration": "Introducing the next generation of smart performance.",
                "bg_music_prompt": "Modern cinematic background with soft electronic pulses"
              }
            ],
            "description": "JSON object for speech and music. Not a string. Keys: narrator (voice name), narration (script), narration_url (public mp3/wav; wins over narrator and narration), bg_music_prompt (music description), bg_music_url (public mp3/wav; wins over bg_music_prompt), native_audio (boolean). Example: {\"narrator\":\"Sarah\",\"narration\":\"Introducing the next generation of smart performance.\"}"
          },
          "used_credits": {
            "type": "integer",
            "title": "Used Credits",
            "default": 0
          },
          "payment_status": {
            "type": "string",
            "title": "Payment Status",
            "default": ""
          },
          "primary_user_id": {
            "type": "string",
            "title": "Primary User ID",
            "default": "",
            "description": "Utilize the `primary_user_id` parameter to determine the owner of the Media. If the `primary_user_id` value is not included in the request object, it will default to your customer_id."
          },
          "processing_status": {
            "type": "string",
            "title": "Processing Status",
            "default": "new"
          }
        },
        "description": "Customer-facing media response model for non-product customers.\nThis intentionally excludes internal/advanced fields from MediaV3."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref10": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref11"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref11": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref0": {
        "type": "object",
        "title": "Images2VideoRequest",
        "required": [
          "image_urls"
        ],
        "properties": {
          "idea": {
            "type": "string",
            "title": "Idea",
            "default": "Create a stunning video showcasing these images with a compelling narrative",
            "examples": [
              "Animated story of Charlie, cheerful young person with short brown hair, casual clothes in morning, festive outfits later, consistent appearance across all scenes, cinematic lighting, high detail, warm festive colors. Make it in 3D Pixar style."
            ],
            "description": "Text description of your story concept."
          },
          "title": {
            "type": "string",
            "title": "Story Title",
            "default": "",
            "examples": [
              "My Story Video"
            ]
          },
          "language": {
            "enum": [
              "Arabic",
              "Chinese",
              "English",
              "French",
              "German",
              "Hindi",
              "Japanese",
              "Korean",
              "Spanish",
              "Turkish"
            ],
            "type": "string",
            "title": "Language",
            "default": "English",
            "examples": [
              "English",
              "Spanish",
              "French",
              "German",
              "Japanese"
            ]
          },
          "image_urls": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "title": "Image URLs",
            "examples": [
              [
                "https://media.vimmerse.net/vimmerse-product/assets/7076a3ed-0869-4ad2-875f-e07b40de9498/uploads/zd2f0q.jpg",
                "https://media.vimmerse.net/vimmerse-product/assets/7076a3ed-0869-4ad2-875f-e07b40de9498/uploads/nkeh11.jpg",
                "https://media.vimmerse.net/vimmerse-product/assets/7076a3ed-0869-4ad2-875f-e07b40de9498/uploads/c4khlw.jpg",
                "https://media.vimmerse.net/vimmerse-product/assets/7076a3ed-0869-4ad2-875f-e07b40de9498/uploads/q1kq79.jpg",
                "https://media.vimmerse.net/vimmerse-product/assets/7076a3ed-0869-4ad2-875f-e07b40de9498/uploads/vgpk83.jpg",
                "https://media.vimmerse.net/vimmerse-product/assets/7076a3ed-0869-4ad2-875f-e07b40de9498/uploads/xe929j.jpg",
                "https://media.vimmerse.net/vimmerse-product/assets/7076a3ed-0869-4ad2-875f-e07b40de9498/uploads/ajqmkf.jpg",
                "https://media.vimmerse.net/vimmerse-product/assets/7076a3ed-0869-4ad2-875f-e07b40de9498/uploads/obfa5z.jpg"
              ]
            ],
            "minItems": 1,
            "description": "Array of publicly accessible image URLs. Required."
          },
          "video_tool": {
            "enum": [
              "Auto",
              "KlingAI",
              "Seedance",
              "Pixverse",
              "VeoFast",
              "Vidu",
              "AutoT1",
              "VeoLite",
              "PVideo"
            ],
            "type": "string",
            "title": "Video Animation Method",
            "default": "Auto",
            "examples": [
              "Auto",
              "KlingAI",
              "Seedance",
              "Pixverse",
              "VeoFast",
              "Vidu",
              "AutoT1",
              "VeoLite",
              "PVideo"
            ]
          },
          "webhook_url": {
            "type": "string",
            "title": "Webhook URL",
            "default": ""
          },
          "aspect_ratio": {
            "enum": [
              "16:9",
              "4:3",
              "1:1",
              "3:4",
              "9:16"
            ],
            "type": "string",
            "title": "Aspect Ratio",
            "default": "16:9",
            "examples": [
              "16:9",
              "4:3",
              "1:1",
              "3:4",
              "9:16"
            ]
          },
          "audio_option": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref1"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Configuration",
            "examples": [
              {
                "narrator": "AutoV",
                "has_bg_music": true,
                "native_audio": false,
                "has_narration": true
              },
              {
                "native_audio": true
              }
            ],
            "description": "JSON object for story audio. Not a string, and not the media audio_option shape. Keys: has_bg_music (boolean), has_narration (boolean), native_audio (boolean), narrator (voice name). When native_audio is true, narration is not used. Example: {\"has_bg_music\":true,\"has_narration\":true,\"native_audio\":false,\"narrator\":\"AutoV\"}"
          },
          "is_transition": {
            "type": "boolean",
            "title": "Enable Transitions",
            "default": false,
            "examples": [
              true,
              false
            ]
          },
          "scene_duration": {
            "type": "integer",
            "title": "Scene Duration",
            "default": 5,
            "maximum": 30,
            "minimum": 1,
            "description": "Duration per scene in seconds. The supported values vary based on video tool selected."
          }
        },
        "description": "Request body for POST /story/images-2-video. Accepts JSON for easier client usage."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref1": {
        "type": "object",
        "title": "StoryAudioOption",
        "examples": [
          {
            "narrator": "AutoV",
            "has_bg_music": true,
            "native_audio": false,
            "has_narration": true
          }
        ],
        "properties": {
          "narrator": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narrator",
            "examples": [
              "AutoV"
            ],
            "description": "Voice used when has_narration is true. Voices: AutoV, Rachel, Aria, Roger, Sarah, Laura, Charlie, George, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill."
          },
          "has_bg_music": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Background Music",
            "examples": [
              false
            ],
            "description": "When true, generate background music. Omit to keep the default (false when native_audio is used)."
          },
          "native_audio": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Native Audio",
            "examples": [
              true
            ],
            "description": "When true, the video model adds sound and lip sync and narration is not used. Omit to keep the default (true unless narration is requested)."
          },
          "has_narration": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narration",
            "examples": [
              false
            ],
            "description": "When true, generate spoken narration (sets native_audio to false). Omit to keep the default (false unless narration is requested)."
          }
        },
        "description": "Audio for story endpoints. JSON object, not a string. This is not the media audio_option shape.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref2": {
        "type": "object",
        "title": "CustomerStoryResponse",
        "properties": {
          "id": {
            "type": "string",
            "title": "ID",
            "default": ""
          },
          "idea": {
            "type": "string",
            "title": "Idea",
            "default": "",
            "description": "Idea of the story"
          },
          "title": {
            "type": "string",
            "title": "Title",
            "default": ""
          },
          "status": {
            "type": "string",
            "title": "Status",
            "default": ""
          },
          "video_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video URL"
          },
          "all_medias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref7"
            },
            "title": "All Medias",
            "description": "Generated media records for this story. Each record's media_items array uses {type, url, position}."
          },
          "created_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "storyboard": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref3"
              },
              {
                "type": "null"
              }
            ],
            "title": "Storyboard",
            "description": "Storyboard"
          },
          "updated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL",
            "description": "Webhook URL is called after batch or story is finished"
          },
          "aspect_ratio": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Aspect Ratio"
          },
          "used_credits": {
            "type": "integer",
            "title": "Used Credits",
            "default": 0
          },
          "is_transition": {
            "type": "boolean",
            "title": "Enable Transitions",
            "default": false
          },
          "progress_percentage": {
            "type": "integer",
            "title": "Progress Percentage",
            "default": 0
          }
        },
        "description": "Customer Story Response"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref3": {
        "type": "object",
        "title": "StoryboardResponse",
        "properties": {
          "music": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref6"
              },
              {
                "type": "null"
              }
            ]
          },
          "scenes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref4"
            },
            "title": "Scenes",
            "description": "List of scenes"
          },
          "objects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref5"
            },
            "title": "Objects",
            "description": "List of objects"
          },
          "characters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref5"
            },
            "title": "Characters",
            "description": "List of characters"
          },
          "environments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref5"
            },
            "title": "Environments",
            "description": "List of environments"
          }
        },
        "description": "Full storyboard (scenes, characters, music, environments, objects).",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref4": {
        "type": "object",
        "title": "StoryboardSceneResponse",
        "properties": {
          "name": {
            "type": "string",
            "title": "Name",
            "default": ""
          },
          "narrator": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narrator",
            "description": "Spoken line for this scene."
          },
          "image_url": {
            "type": "string",
            "title": "Image URL",
            "default": "",
            "description": "Public https URL of the scene still. Empty until the scene image exists."
          },
          "narration_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narration URL",
            "description": "Public https URL of a narration file for this scene."
          },
          "image_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image Description"
          },
          "video_description": {
            "type": "string",
            "title": "Video Description",
            "default": "",
            "description": "Motion prompt for this scene."
          }
        },
        "description": "Storyboard scene with video/image descriptions and narrator text.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref5": {
        "type": "object",
        "title": "StoryElementItemResponse",
        "properties": {
          "name": {
            "type": "string",
            "title": "Name",
            "default": "",
            "description": "Short distinct name used in scene text."
          },
          "image_url": {
            "type": "string",
            "title": "Image URL",
            "default": "",
            "description": "Public https URL of an existing picture. Empty when the picture is generated later."
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": "",
            "description": "Visual description. The picture URL goes in image_url."
          }
        },
        "description": "Single character, environment, or object in story elements.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref6": {
        "type": "object",
        "title": "StoryboardMusicResponse",
        "properties": {
          "lyrics": {
            "type": "string",
            "title": "Lyrics",
            "default": ""
          },
          "music_url": {
            "type": "string",
            "title": "Music URL",
            "default": "",
            "description": "Public https URL of a music file."
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": "",
            "description": "Music prompt: genre, tempo, instruments, mood."
          }
        },
        "description": "Storyboard music (description, lyrics, music_url).",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref7": {
        "type": "object",
        "title": "CustomerMediaResponse",
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "default": ""
          },
          "title": {
            "type": "string",
            "title": "Title",
            "default": ""
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": ""
          },
          "result": {
            "type": "array",
            "items": {},
            "title": "Generated Video URLs",
            "default": []
          },
          "version": {
            "type": "string",
            "title": "Version",
            "default": "3"
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1,
            "description": "Number of generated outputs."
          },
          "created_at": {
            "type": "string",
            "title": "Created At",
            "default": ""
          },
          "resolution": {
            "type": "array",
            "items": {},
            "title": "Resolution",
            "default": []
          },
          "updated_at": {
            "type": "string",
            "title": "Updated At",
            "default": ""
          },
          "video_tool": {
            "enum": [
              "Auto",
              "AutoT3",
              "AutoT1",
              "HappyHorse",
              "Grok",
              "KlingAI",
              "KlingT3",
              "KlingPro",
              "GoogleOmni",
              "VeoLite",
              "VeoFast",
              "Veo",
              "MinimaxHailuo",
              "MinimaxTurbo",
              "Seedance",
              "SeedanceFast",
              "SeedanceT6",
              "Pixverse",
              "PixverseT3",
              "Hunyuan",
              "Vidu",
              "PVideo",
              "StaticMotion",
              "Wan",
              "TryOnVideo"
            ],
            "type": "string",
            "title": "Video Tool",
            "default": "Auto",
            "description": "Motion/generation tool option (same as create media)."
          },
          "customer_id": {
            "type": "string",
            "title": "Customer ID",
            "default": ""
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          },
          "media_items": {
            "type": "array",
            "items": {},
            "title": "Media Items",
            "examples": [
              [
                {
                  "url": "https://example.com/start.png",
                  "type": "image",
                  "position": "First"
                },
                {
                  "url": "https://example.com/end.png",
                  "type": "image",
                  "position": "Last"
                }
              ]
            ],
            "description": "Array of image or video inputs. Send a JSON array of objects, not a string. Each object is {\"type\":\"image\"|\"video\",\"url\":\"https://...\",\"position\":\"First\"|\"Last\"}. \"First\" is the start frame. \"Last\" is the end frame. One picture: [{\"type\":\"image\",\"url\":\"https://example.com/start.png\",\"position\":\"First\"}]. Start and end: add a second object with position Last. url must be a public https URL. Do not upload a file here and do not put audio in this array. Audio belongs in audio_option."
          },
          "webhook_url": {
            "type": "string",
            "title": "Webhook URL is called when status of the media has been updated.",
            "default": ""
          },
          "audio_option": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Option",
            "examples": [
              {
                "narrator": "Sarah",
                "narration": "Introducing the next generation of smart performance.",
                "bg_music_prompt": "Modern cinematic background with soft electronic pulses"
              }
            ],
            "description": "JSON object for speech and music. Not a string. Keys: narrator (voice name), narration (script), narration_url (public mp3/wav; wins over narrator and narration), bg_music_prompt (music description), bg_music_url (public mp3/wav; wins over bg_music_prompt), native_audio (boolean). Example: {\"narrator\":\"Sarah\",\"narration\":\"Introducing the next generation of smart performance.\"}"
          },
          "used_credits": {
            "type": "integer",
            "title": "Used Credits",
            "default": 0
          },
          "payment_status": {
            "type": "string",
            "title": "Payment Status",
            "default": ""
          },
          "primary_user_id": {
            "type": "string",
            "title": "Primary User ID",
            "default": "",
            "description": "Utilize the `primary_user_id` parameter to determine the owner of the Media. If the `primary_user_id` value is not included in the request object, it will default to your customer_id."
          },
          "processing_status": {
            "type": "string",
            "title": "Processing Status",
            "default": "new"
          }
        },
        "description": "Customer-facing media response model for non-product customers.\nThis intentionally excludes internal/advanced fields from MediaV3."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref8": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref9"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref9": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref0": {
        "type": "object",
        "title": "CustomerStoryResponse",
        "properties": {
          "id": {
            "type": "string",
            "title": "ID",
            "default": ""
          },
          "idea": {
            "type": "string",
            "title": "Idea",
            "default": "",
            "description": "Idea of the story"
          },
          "title": {
            "type": "string",
            "title": "Title",
            "default": ""
          },
          "status": {
            "type": "string",
            "title": "Status",
            "default": ""
          },
          "video_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video URL"
          },
          "all_medias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref5"
            },
            "title": "All Medias",
            "description": "Generated media records for this story. Each record's media_items array uses {type, url, position}."
          },
          "created_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "storyboard": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref1"
              },
              {
                "type": "null"
              }
            ],
            "title": "Storyboard",
            "description": "Storyboard"
          },
          "updated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL",
            "description": "Webhook URL is called after batch or story is finished"
          },
          "aspect_ratio": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Aspect Ratio"
          },
          "used_credits": {
            "type": "integer",
            "title": "Used Credits",
            "default": 0
          },
          "is_transition": {
            "type": "boolean",
            "title": "Enable Transitions",
            "default": false
          },
          "progress_percentage": {
            "type": "integer",
            "title": "Progress Percentage",
            "default": 0
          }
        },
        "description": "Customer Story Response"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref1": {
        "type": "object",
        "title": "StoryboardResponse",
        "properties": {
          "music": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref4"
              },
              {
                "type": "null"
              }
            ]
          },
          "scenes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref2"
            },
            "title": "Scenes",
            "description": "List of scenes"
          },
          "objects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref3"
            },
            "title": "Objects",
            "description": "List of objects"
          },
          "characters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref3"
            },
            "title": "Characters",
            "description": "List of characters"
          },
          "environments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref3"
            },
            "title": "Environments",
            "description": "List of environments"
          }
        },
        "description": "Full storyboard (scenes, characters, music, environments, objects).",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref2": {
        "type": "object",
        "title": "StoryboardSceneResponse",
        "properties": {
          "name": {
            "type": "string",
            "title": "Name",
            "default": ""
          },
          "narrator": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narrator",
            "description": "Spoken line for this scene."
          },
          "image_url": {
            "type": "string",
            "title": "Image URL",
            "default": "",
            "description": "Public https URL of the scene still. Empty until the scene image exists."
          },
          "narration_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narration URL",
            "description": "Public https URL of a narration file for this scene."
          },
          "image_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image Description"
          },
          "video_description": {
            "type": "string",
            "title": "Video Description",
            "default": "",
            "description": "Motion prompt for this scene."
          }
        },
        "description": "Storyboard scene with video/image descriptions and narrator text.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref3": {
        "type": "object",
        "title": "StoryElementItemResponse",
        "properties": {
          "name": {
            "type": "string",
            "title": "Name",
            "default": "",
            "description": "Short distinct name used in scene text."
          },
          "image_url": {
            "type": "string",
            "title": "Image URL",
            "default": "",
            "description": "Public https URL of an existing picture. Empty when the picture is generated later."
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": "",
            "description": "Visual description. The picture URL goes in image_url."
          }
        },
        "description": "Single character, environment, or object in story elements.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref4": {
        "type": "object",
        "title": "StoryboardMusicResponse",
        "properties": {
          "lyrics": {
            "type": "string",
            "title": "Lyrics",
            "default": ""
          },
          "music_url": {
            "type": "string",
            "title": "Music URL",
            "default": "",
            "description": "Public https URL of a music file."
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": "",
            "description": "Music prompt: genre, tempo, instruments, mood."
          }
        },
        "description": "Storyboard music (description, lyrics, music_url).",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref5": {
        "type": "object",
        "title": "CustomerMediaResponse",
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "default": ""
          },
          "title": {
            "type": "string",
            "title": "Title",
            "default": ""
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": ""
          },
          "result": {
            "type": "array",
            "items": {},
            "title": "Generated Video URLs",
            "default": []
          },
          "version": {
            "type": "string",
            "title": "Version",
            "default": "3"
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1,
            "description": "Number of generated outputs."
          },
          "created_at": {
            "type": "string",
            "title": "Created At",
            "default": ""
          },
          "resolution": {
            "type": "array",
            "items": {},
            "title": "Resolution",
            "default": []
          },
          "updated_at": {
            "type": "string",
            "title": "Updated At",
            "default": ""
          },
          "video_tool": {
            "enum": [
              "Auto",
              "AutoT3",
              "AutoT1",
              "HappyHorse",
              "Grok",
              "KlingAI",
              "KlingT3",
              "KlingPro",
              "GoogleOmni",
              "VeoLite",
              "VeoFast",
              "Veo",
              "MinimaxHailuo",
              "MinimaxTurbo",
              "Seedance",
              "SeedanceFast",
              "SeedanceT6",
              "Pixverse",
              "PixverseT3",
              "Hunyuan",
              "Vidu",
              "PVideo",
              "StaticMotion",
              "Wan",
              "TryOnVideo"
            ],
            "type": "string",
            "title": "Video Tool",
            "default": "Auto",
            "description": "Motion/generation tool option (same as create media)."
          },
          "customer_id": {
            "type": "string",
            "title": "Customer ID",
            "default": ""
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          },
          "media_items": {
            "type": "array",
            "items": {},
            "title": "Media Items",
            "examples": [
              [
                {
                  "url": "https://example.com/start.png",
                  "type": "image",
                  "position": "First"
                },
                {
                  "url": "https://example.com/end.png",
                  "type": "image",
                  "position": "Last"
                }
              ]
            ],
            "description": "Array of image or video inputs. Send a JSON array of objects, not a string. Each object is {\"type\":\"image\"|\"video\",\"url\":\"https://...\",\"position\":\"First\"|\"Last\"}. \"First\" is the start frame. \"Last\" is the end frame. One picture: [{\"type\":\"image\",\"url\":\"https://example.com/start.png\",\"position\":\"First\"}]. Start and end: add a second object with position Last. url must be a public https URL. Do not upload a file here and do not put audio in this array. Audio belongs in audio_option."
          },
          "webhook_url": {
            "type": "string",
            "title": "Webhook URL is called when status of the media has been updated.",
            "default": ""
          },
          "audio_option": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Option",
            "examples": [
              {
                "narrator": "Sarah",
                "narration": "Introducing the next generation of smart performance.",
                "bg_music_prompt": "Modern cinematic background with soft electronic pulses"
              }
            ],
            "description": "JSON object for speech and music. Not a string. Keys: narrator (voice name), narration (script), narration_url (public mp3/wav; wins over narrator and narration), bg_music_prompt (music description), bg_music_url (public mp3/wav; wins over bg_music_prompt), native_audio (boolean). Example: {\"narrator\":\"Sarah\",\"narration\":\"Introducing the next generation of smart performance.\"}"
          },
          "used_credits": {
            "type": "integer",
            "title": "Used Credits",
            "default": 0
          },
          "payment_status": {
            "type": "string",
            "title": "Payment Status",
            "default": ""
          },
          "primary_user_id": {
            "type": "string",
            "title": "Primary User ID",
            "default": "",
            "description": "Utilize the `primary_user_id` parameter to determine the owner of the Media. If the `primary_user_id` value is not included in the request object, it will default to your customer_id."
          },
          "processing_status": {
            "type": "string",
            "title": "Processing Status",
            "default": "new"
          }
        },
        "description": "Customer-facing media response model for non-product customers.\nThis intentionally excludes internal/advanced fields from MediaV3."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref6": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref7"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref7": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref0": {
        "type": "object",
        "title": "Url2VideoRequest",
        "required": [
          "idea"
        ],
        "properties": {
          "idea": {
            "type": "string",
            "title": "URL",
            "examples": [
              "https://www.dominos.com/ Create a cool, modern commercial-style video. Keep the Domino's logo accurate and consistent in every scene. Do not add any extra graphics, text, or elements.Cinematic lighting, smooth camera motion, premium ad look.Maintain the same characters and product throughout all scenes."
            ],
            "description": "URL of the webpage to scrape for content (e.g. product page, article)."
          },
          "title": {
            "type": "string",
            "title": "Story Title",
            "default": "",
            "examples": [
              "My Story Video"
            ]
          },
          "elements": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref1"
              },
              {
                "type": "null"
              }
            ],
            "title": "Story Elements",
            "examples": [
              {
                "objects": [
                  {
                    "name": "logo",
                    "image_url": "https://m.dominos.co.in/postorder-ui/images/appLogo@2x.png",
                    "description": "logo of dominos"
                  }
                ]
              }
            ],
            "description": "JSON object of characters, environments, and objects you already have. Do not include scenes. Each list item is {name, description, image_url}. image_url is a public https URL of an existing picture. Leave image_url empty to generate the picture later. Example: {\"objects\":[{\"name\":\"Logo\",\"description\":\"Brand logo, flat.\",\"image_url\":\"https://example.com/logo.png\"}]}"
          },
          "language": {
            "enum": [
              "Arabic",
              "Chinese",
              "English",
              "French",
              "German",
              "Hindi",
              "Japanese",
              "Korean",
              "Spanish",
              "Turkish"
            ],
            "type": "string",
            "title": "Language",
            "default": "English",
            "examples": [
              "English",
              "Spanish",
              "French",
              "German",
              "Japanese"
            ]
          },
          "image_tool": {
            "enum": [
              "AutoI",
              "Seedream",
              "FluxTurbo",
              "NanoBanana",
              "QwenImage"
            ],
            "type": "string",
            "title": "Image Generation Model",
            "default": "AutoI",
            "examples": [
              "AutoI",
              "Seedream",
              "FluxTurbo",
              "NanoBanana",
              "QwenImage"
            ]
          },
          "video_tool": {
            "enum": [
              "Auto",
              "KlingAI",
              "Seedance",
              "Pixverse",
              "VeoFast",
              "Vidu",
              "AutoT1",
              "VeoLite",
              "PVideo"
            ],
            "type": "string",
            "title": "Video Animation Method",
            "default": "Auto",
            "examples": [
              "Auto",
              "KlingAI",
              "Seedance",
              "Pixverse",
              "VeoFast",
              "AutoT1",
              "VeoLite",
              "Vidu",
              "PVideo"
            ]
          },
          "scene_count": {
            "type": "integer",
            "title": "Number of Scenes",
            "default": 3,
            "minimum": 1,
            "examples": [
              3,
              5,
              7
            ]
          },
          "webhook_url": {
            "type": "string",
            "title": "Webhook URL",
            "default": ""
          },
          "aspect_ratio": {
            "enum": [
              "16:9",
              "4:3",
              "1:1",
              "3:4",
              "9:16"
            ],
            "type": "string",
            "title": "Aspect Ratio",
            "default": "16:9",
            "examples": [
              "16:9",
              "4:3",
              "1:1",
              "3:4",
              "9:16"
            ]
          },
          "audio_option": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref3"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Configuration",
            "examples": [
              {
                "narrator": "AutoV",
                "has_bg_music": true,
                "native_audio": false,
                "has_narration": true
              },
              {
                "native_audio": true
              }
            ],
            "description": "JSON object for story audio. Not a string, and not the media audio_option shape. Keys: has_bg_music (boolean), has_narration (boolean), native_audio (boolean), narrator (voice name). When native_audio is true, narration is not used. Example: {\"has_bg_music\":true,\"has_narration\":true,\"native_audio\":false,\"narrator\":\"AutoV\"}"
          },
          "is_transition": {
            "type": "boolean",
            "title": "Enable Transitions",
            "default": false,
            "examples": [
              false,
              true
            ]
          },
          "scene_duration": {
            "type": "integer",
            "title": "Scene Duration",
            "default": 5,
            "maximum": 30,
            "minimum": 1,
            "description": "Duration per scene in seconds. The supported values vary based on video tool selected."
          }
        },
        "description": "Request body for POST /story/url-2-video. Send with Content-Type: application/json."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref1": {
        "type": "object",
        "title": "StoryElementsInput",
        "examples": [
          {
            "objects": [
              {
                "name": "Logo",
                "image_url": "https://example.com/logo.png",
                "description": "Brand logo, flat, on a transparent background."
              }
            ],
            "characters": [
              {
                "name": "Whiskers",
                "image_url": "https://example.com/whiskers.png",
                "description": "A small rusty-red squirrel with a bushy tail, Pixar-style 3D."
              }
            ],
            "environments": [
              {
                "name": "Sunny Meadow",
                "image_url": "",
                "description": "A golden meadow with wildflowers and a clear blue sky."
              }
            ]
          }
        ],
        "properties": {
          "objects": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref2"
                }
              },
              {
                "type": "null"
              }
            ],
            "title": "Objects",
            "description": "Props, products, and logos. Each item has name, description, and image_url."
          },
          "characters": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref2"
                }
              },
              {
                "type": "null"
              }
            ],
            "title": "Characters",
            "description": "People or creatures. Each item has name, description, and image_url."
          },
          "environments": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref2"
                }
              },
              {
                "type": "null"
              }
            ],
            "title": "Environments",
            "description": "Locations and backgrounds. Each item has name, description, and image_url."
          }
        },
        "description": "Pre-defined story elements. Extra keys are kept so older payloads are not dropped.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref2": {
        "type": "object",
        "title": "StoryElementInput",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name",
            "examples": [
              "Whiskers"
            ],
            "description": "Short distinct name. Scene text refers to this name, so keep the spelling identical everywhere."
          },
          "image_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image URL",
            "examples": [
              "https://example.com/whiskers.png"
            ],
            "description": "Public https URL of an existing picture of this character, place, or object. This is how you pass a product photo or logo. Omit it, or send an empty string, when the picture should be generated later."
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description",
            "examples": [
              "A small rusty-red squirrel with a bushy tail, Pixar-style 3D."
            ],
            "description": "Visual description: style, appearance, materials, and colors. Do not put the image URL here."
          }
        },
        "description": "One character, environment, or object. Put an existing picture in image_url.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref3": {
        "type": "object",
        "title": "StoryAudioOption",
        "examples": [
          {
            "narrator": "AutoV",
            "has_bg_music": true,
            "native_audio": false,
            "has_narration": true
          }
        ],
        "properties": {
          "narrator": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narrator",
            "examples": [
              "AutoV"
            ],
            "description": "Voice used when has_narration is true. Voices: AutoV, Rachel, Aria, Roger, Sarah, Laura, Charlie, George, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill."
          },
          "has_bg_music": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Background Music",
            "examples": [
              false
            ],
            "description": "When true, generate background music. Omit to keep the default (false when native_audio is used)."
          },
          "native_audio": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Native Audio",
            "examples": [
              true
            ],
            "description": "When true, the video model adds sound and lip sync and narration is not used. Omit to keep the default (true unless narration is requested)."
          },
          "has_narration": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narration",
            "examples": [
              false
            ],
            "description": "When true, generate spoken narration (sets native_audio to false). Omit to keep the default (false unless narration is requested)."
          }
        },
        "description": "Audio for story endpoints. JSON object, not a string. This is not the media audio_option shape.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref4": {
        "type": "object",
        "title": "CustomerStoryResponse",
        "properties": {
          "id": {
            "type": "string",
            "title": "ID",
            "default": ""
          },
          "idea": {
            "type": "string",
            "title": "Idea",
            "default": "",
            "description": "Idea of the story"
          },
          "title": {
            "type": "string",
            "title": "Title",
            "default": ""
          },
          "status": {
            "type": "string",
            "title": "Status",
            "default": ""
          },
          "video_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video URL"
          },
          "all_medias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref9"
            },
            "title": "All Medias",
            "description": "Generated media records for this story. Each record's media_items array uses {type, url, position}."
          },
          "created_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "storyboard": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref5"
              },
              {
                "type": "null"
              }
            ],
            "title": "Storyboard",
            "description": "Storyboard"
          },
          "updated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL",
            "description": "Webhook URL is called after batch or story is finished"
          },
          "aspect_ratio": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Aspect Ratio"
          },
          "used_credits": {
            "type": "integer",
            "title": "Used Credits",
            "default": 0
          },
          "is_transition": {
            "type": "boolean",
            "title": "Enable Transitions",
            "default": false
          },
          "progress_percentage": {
            "type": "integer",
            "title": "Progress Percentage",
            "default": 0
          }
        },
        "description": "Customer Story Response"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref5": {
        "type": "object",
        "title": "StoryboardResponse",
        "properties": {
          "music": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref8"
              },
              {
                "type": "null"
              }
            ]
          },
          "scenes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref6"
            },
            "title": "Scenes",
            "description": "List of scenes"
          },
          "objects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref7"
            },
            "title": "Objects",
            "description": "List of objects"
          },
          "characters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref7"
            },
            "title": "Characters",
            "description": "List of characters"
          },
          "environments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref7"
            },
            "title": "Environments",
            "description": "List of environments"
          }
        },
        "description": "Full storyboard (scenes, characters, music, environments, objects).",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref6": {
        "type": "object",
        "title": "StoryboardSceneResponse",
        "properties": {
          "name": {
            "type": "string",
            "title": "Name",
            "default": ""
          },
          "narrator": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narrator",
            "description": "Spoken line for this scene."
          },
          "image_url": {
            "type": "string",
            "title": "Image URL",
            "default": "",
            "description": "Public https URL of the scene still. Empty until the scene image exists."
          },
          "narration_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Narration URL",
            "description": "Public https URL of a narration file for this scene."
          },
          "image_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image Description"
          },
          "video_description": {
            "type": "string",
            "title": "Video Description",
            "default": "",
            "description": "Motion prompt for this scene."
          }
        },
        "description": "Storyboard scene with video/image descriptions and narrator text.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref7": {
        "type": "object",
        "title": "StoryElementItemResponse",
        "properties": {
          "name": {
            "type": "string",
            "title": "Name",
            "default": "",
            "description": "Short distinct name used in scene text."
          },
          "image_url": {
            "type": "string",
            "title": "Image URL",
            "default": "",
            "description": "Public https URL of an existing picture. Empty when the picture is generated later."
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": "",
            "description": "Visual description. The picture URL goes in image_url."
          }
        },
        "description": "Single character, environment, or object in story elements.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref8": {
        "type": "object",
        "title": "StoryboardMusicResponse",
        "properties": {
          "lyrics": {
            "type": "string",
            "title": "Lyrics",
            "default": ""
          },
          "music_url": {
            "type": "string",
            "title": "Music URL",
            "default": "",
            "description": "Public https URL of a music file."
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": "",
            "description": "Music prompt: genre, tempo, instruments, mood."
          }
        },
        "description": "Storyboard music (description, lyrics, music_url).",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref9": {
        "type": "object",
        "title": "CustomerMediaResponse",
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "default": ""
          },
          "title": {
            "type": "string",
            "title": "Title",
            "default": ""
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": ""
          },
          "result": {
            "type": "array",
            "items": {},
            "title": "Generated Video URLs",
            "default": []
          },
          "version": {
            "type": "string",
            "title": "Version",
            "default": "3"
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1,
            "description": "Number of generated outputs."
          },
          "created_at": {
            "type": "string",
            "title": "Created At",
            "default": ""
          },
          "resolution": {
            "type": "array",
            "items": {},
            "title": "Resolution",
            "default": []
          },
          "updated_at": {
            "type": "string",
            "title": "Updated At",
            "default": ""
          },
          "video_tool": {
            "enum": [
              "Auto",
              "AutoT3",
              "AutoT1",
              "HappyHorse",
              "Grok",
              "KlingAI",
              "KlingT3",
              "KlingPro",
              "GoogleOmni",
              "VeoLite",
              "VeoFast",
              "Veo",
              "MinimaxHailuo",
              "MinimaxTurbo",
              "Seedance",
              "SeedanceFast",
              "SeedanceT6",
              "Pixverse",
              "PixverseT3",
              "Hunyuan",
              "Vidu",
              "PVideo",
              "StaticMotion",
              "Wan",
              "TryOnVideo"
            ],
            "type": "string",
            "title": "Video Tool",
            "default": "Auto",
            "description": "Motion/generation tool option (same as create media)."
          },
          "customer_id": {
            "type": "string",
            "title": "Customer ID",
            "default": ""
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          },
          "media_items": {
            "type": "array",
            "items": {},
            "title": "Media Items",
            "examples": [
              [
                {
                  "url": "https://example.com/start.png",
                  "type": "image",
                  "position": "First"
                },
                {
                  "url": "https://example.com/end.png",
                  "type": "image",
                  "position": "Last"
                }
              ]
            ],
            "description": "Array of image or video inputs. Send a JSON array of objects, not a string. Each object is {\"type\":\"image\"|\"video\",\"url\":\"https://...\",\"position\":\"First\"|\"Last\"}. \"First\" is the start frame. \"Last\" is the end frame. One picture: [{\"type\":\"image\",\"url\":\"https://example.com/start.png\",\"position\":\"First\"}]. Start and end: add a second object with position Last. url must be a public https URL. Do not upload a file here and do not put audio in this array. Audio belongs in audio_option."
          },
          "webhook_url": {
            "type": "string",
            "title": "Webhook URL is called when status of the media has been updated.",
            "default": ""
          },
          "audio_option": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Option",
            "examples": [
              {
                "narrator": "Sarah",
                "narration": "Introducing the next generation of smart performance.",
                "bg_music_prompt": "Modern cinematic background with soft electronic pulses"
              }
            ],
            "description": "JSON object for speech and music. Not a string. Keys: narrator (voice name), narration (script), narration_url (public mp3/wav; wins over narrator and narration), bg_music_prompt (music description), bg_music_url (public mp3/wav; wins over bg_music_prompt), native_audio (boolean). Example: {\"narrator\":\"Sarah\",\"narration\":\"Introducing the next generation of smart performance.\"}"
          },
          "used_credits": {
            "type": "integer",
            "title": "Used Credits",
            "default": 0
          },
          "payment_status": {
            "type": "string",
            "title": "Payment Status",
            "default": ""
          },
          "primary_user_id": {
            "type": "string",
            "title": "Primary User ID",
            "default": "",
            "description": "Utilize the `primary_user_id` parameter to determine the owner of the Media. If the `primary_user_id` value is not included in the request object, it will default to your customer_id."
          },
          "processing_status": {
            "type": "string",
            "title": "Processing Status",
            "default": "new"
          }
        },
        "description": "Customer-facing media response model for non-product customers.\nThis intentionally excludes internal/advanced fields from MediaV3."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref10": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref11"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref11": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_7fb97508fa30e197_ref0": {
        "type": "object",
        "title": "Image2PromptRequest",
        "required": [
          "image_url"
        ],
        "properties": {
          "image_url": {
            "type": "string",
            "title": "Image URL",
            "minLength": 1
          }
        },
        "description": "Request body for POST /v2/text/image-2-prompt."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_7fb97508fa30e197_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_7fb97508fa30e197_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_7fb97508fa30e197_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_7fb97508fa30e197_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_03ac1ce730a897ba_ref0": {
        "type": "object",
        "title": "GeneratePromptRequest",
        "properties": {
          "mode": {
            "type": "string",
            "title": "Mode",
            "default": "scene",
            "examples": [
              "scene",
              "video",
              "image",
              "audio"
            ],
            "description": "Refinement mode."
          },
          "option": {
            "type": "string",
            "title": "Option",
            "default": "InspireMe",
            "description": "`Image2Prompt` — describe image; `SuggestPrompt` — creative suggestion; `RefinePrompt` — improve `prompt`; `InspireMe` — auto from inputs."
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": "",
            "description": "Seed or instruction text."
          },
          "image_url": {
            "type": "string",
            "title": "Base image URL",
            "default": ""
          },
          "video_url": {
            "type": "string",
            "title": "Video URL",
            "default": "",
            "description": "Middle frame is extracted and used like an image when no image_url is set."
          },
          "image2_url": {
            "type": "string",
            "title": "Second image URL (optional)",
            "default": ""
          }
        },
        "description": "Request body for POST /v2/text/prompt."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_03ac1ce730a897ba_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_03ac1ce730a897ba_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_03ac1ce730a897ba_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_03ac1ce730a897ba_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_32c253e27f5309f3_ref0": {
        "type": "object",
        "title": "RefinePromptRequest",
        "required": [
          "prompt"
        ],
        "properties": {
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "minLength": 1,
            "description": "Prompt to refine."
          }
        },
        "description": "Request body for POST /v2/text/refine-prompt."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_32c253e27f5309f3_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_32c253e27f5309f3_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_32c253e27f5309f3_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_32c253e27f5309f3_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_3240463ac7f202fb_ref0": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_3240463ac7f202fb_ref1": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_3240463ac7f202fb_ref2"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_3240463ac7f202fb_ref2": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_2c6f8589a9d1023f_ref0": {
        "type": "object",
        "title": "AttachAudioRequest",
        "required": [
          "video_url",
          "audio_url"
        ],
        "properties": {
          "audio_url": {
            "type": "string",
            "title": "Audio URL"
          },
          "video_url": {
            "type": "string",
            "title": "Video URL"
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "attach_mode": {
            "type": "string",
            "title": "Attach Mode",
            "default": "MatchVideo",
            "description": "`MatchVideo`, `PadAudio`, `MatchAudio`, `SpeedAdjust`, or `Strict`."
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "audio_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio duration (seconds)"
          },
          "video_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video duration (seconds)"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_2c6f8589a9d1023f_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_2c6f8589a9d1023f_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_2c6f8589a9d1023f_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_2c6f8589a9d1023f_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_89ef45ef62678038_ref0": {
        "type": "object",
        "title": "AvatarLipSyncRequest",
        "properties": {
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": "",
            "description": "Speech script for the avatar."
          },
          "voice_id": {
            "type": "string",
            "title": "Voice ID",
            "default": ""
          },
          "audio_url": {
            "type": "string",
            "title": "Background Audio URL",
            "default": ""
          },
          "avatar_id": {
            "type": "string",
            "title": "Avatar ID",
            "default": ""
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "aspect_ratio": {
            "type": "string",
            "title": "Aspect Ratio",
            "default": "16:9",
            "description": "`1:1`, `16:9`, or `9:16`."
          },
          "bg_image_url": {
            "type": "string",
            "title": "Background Image URL",
            "default": ""
          },
          "show_caption": {
            "type": "string",
            "title": "Show Caption",
            "default": "On",
            "description": "`On` or `Off`."
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_89ef45ef62678038_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_89ef45ef62678038_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_89ef45ef62678038_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_89ef45ef62678038_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_55254dc90ca4cf14_ref0": {
        "type": "object",
        "title": "CropToAspectRatioRequest",
        "required": [
          "video_url"
        ],
        "properties": {
          "offset_x": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "X-Axis Offset"
          },
          "offset_y": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Y-Axis Offset"
          },
          "video_url": {
            "type": "string",
            "title": "Video URL"
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "aspect_ratio": {
            "type": "string",
            "title": "Aspect Ratio",
            "default": "16:9",
            "pattern": "^(\\d+):(\\d+)$"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_55254dc90ca4cf14_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_55254dc90ca4cf14_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_55254dc90ca4cf14_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_55254dc90ca4cf14_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_4922a10cd3017a6b_ref0": {
        "type": "object",
        "title": "EnhanceVideoRequest",
        "required": [
          "video_url"
        ],
        "properties": {
          "video_url": {
            "type": "string",
            "title": "Video URL"
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "enhance_mode": {
            "type": "string",
            "title": "Enhance Mode",
            "default": "4X&DeepClean",
            "description": "`4X`, `2X`, `4X&DeepClean`, `2X&DeepClean`, or `DeepClean`."
          },
          "compression_scale": {
            "type": "string",
            "title": "Compression Scale",
            "default": "0.5"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_4922a10cd3017a6b_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_4922a10cd3017a6b_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_4922a10cd3017a6b_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_4922a10cd3017a6b_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_a3d38764044112c5_ref0": {
        "type": "object",
        "title": "EstimateVideoCreditsRequest",
        "required": [
          "option"
        ],
        "properties": {
          "option": {
            "type": "string",
            "title": "Generation Option",
            "description": "Model/tool `option` on the target video endpoint (e.g. KlingT3, AutoLipSync)."
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": "",
            "description": "Used for AvatarLipSync-style length-based pricing when applicable."
          },
          "app_name": {
            "type": "string",
            "title": "App Name",
            "default": "reference-to-video",
            "description": "Internal route id on the asset record (same as the target POST /video/* route). Available values: `reference-to-video` (default), `video-effects`, `edit-video`, `lip-sync`, `replace-background-video`, `video-to-video`, `text-image-to-video`, `try-on`, `upload-video` (0 credits)."
          },
          "duration": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration (seconds)",
            "description": "Same as `duration` on video routes; billed in 5-second blocks."
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1
          },
          "audio_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Duration",
            "description": "Explicit audio seconds override (used by lip-sync video estimation)."
          },
          "video_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video Duration",
            "description": "Explicit seconds override (alias of duration for video apps)."
          }
        },
        "description": "Body for POST /video/estimate-credits."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_a3d38764044112c5_ref1": {
        "type": "object",
        "title": "EstimateAssetCreditsResponse",
        "required": [
          "total_credits",
          "breakdown"
        ],
        "properties": {
          "breakdown": {
            "type": "object",
            "title": "Breakdown",
            "description": "Step-by-step pricing components.",
            "additionalProperties": true
          },
          "total_credits": {
            "type": "integer",
            "title": "Total Credits",
            "description": "Total credits that would be charged."
          }
        },
        "description": "Credit estimate for asset generation (anonymous; no user balance)."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_a3d38764044112c5_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_a3d38764044112c5_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_a3d38764044112c5_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_07eda36722311614_ref0": {
        "type": "object",
        "title": "LipSyncRequest",
        "properties": {
          "voice": {
            "type": "string",
            "title": "Narrator voice",
            "default": "AutoV"
          },
          "option": {
            "type": "string",
            "title": "Option",
            "default": "AutoLipSync",
            "description": "`AutoLipSync`, `SyncLipSync`, `HummingBird`, `NewportLipSync`, `KlingAvatar`, `PVideo`, `NewportDreamAvatar`."
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": "",
            "description": "Speech prompt when generating audio from text."
          },
          "audio_url": {
            "type": "string",
            "title": "Audio URL",
            "default": ""
          },
          "image_url": {
            "type": "string",
            "title": "Image URL",
            "default": ""
          },
          "video_url": {
            "type": "string",
            "title": "Video URL",
            "default": ""
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "audio_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio duration (seconds)"
          },
          "video_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video duration (seconds)"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_07eda36722311614_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_07eda36722311614_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_07eda36722311614_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_07eda36722311614_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_c0bbd8cac31b0a3e_ref0": {
        "type": "object",
        "title": "ReferenceToVideoRequest",
        "required": [
          "image_urls"
        ],
        "properties": {
          "option": {
            "type": "string",
            "title": "Video generation tool",
            "default": "KlingT3"
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": ""
          },
          "duration": {
            "type": "integer",
            "title": "Duration (seconds)",
            "default": 5,
            "maximum": 30,
            "minimum": 1
          },
          "elements": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "title": "Element image groups",
            "examples": [
              [
                "https://example.com/hero-front.png"
              ],
              [
                [
                  "https://example.com/hero-front.png",
                  "https://example.com/hero-side.png"
                ]
              ]
            ],
            "description": "Optional element images. A string entry is one image URL, which is what existing clients send. A group is an array of 1 to 4 public image URLs for one subject: index 0 is the frontal image, indexes 1 to 3 are other angles. Group example: [[\"https://example.com/hero-front.png\",\"https://example.com/hero-side.png\"]]"
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "image_urls": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "title": "Reference image URLs",
            "minItems": 1,
            "description": "Public https URLs of reference images. At least one."
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "aspect_ratio": {
            "type": "string",
            "title": "Aspect Ratio",
            "default": "16:9",
            "pattern": "^(\\d+):(\\d+)$"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_c0bbd8cac31b0a3e_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_c0bbd8cac31b0a3e_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_c0bbd8cac31b0a3e_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_c0bbd8cac31b0a3e_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_86e865032623a779_ref0": {
        "type": "object",
        "title": "ReframeVideoRequest",
        "required": [
          "video_url"
        ],
        "properties": {
          "x_end": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "X End"
          },
          "y_end": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Y End"
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": "Make it realistic"
          },
          "x_start": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "X Start"
          },
          "y_start": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Y Start"
          },
          "video_url": {
            "type": "string",
            "title": "Video URL"
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "aspect_ratio": {
            "type": "string",
            "title": "Aspect Ratio",
            "default": "16:9",
            "pattern": "^(\\d+):(\\d+)$"
          },
          "grid_position_x": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Grid Position X"
          },
          "grid_position_y": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Grid Position Y"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_86e865032623a779_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_86e865032623a779_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_86e865032623a779_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_86e865032623a779_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_d8f09a0a085c15c6_ref0": {
        "type": "object",
        "title": "ReplaceVideoBackgroundRequest",
        "required": [
          "video_url"
        ],
        "properties": {
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": ""
          },
          "x_offset": {
            "type": "integer",
            "title": "X Offset",
            "default": 0
          },
          "y_offset": {
            "type": "integer",
            "title": "Y Offset",
            "default": 0
          },
          "alignment": {
            "type": "string",
            "title": "Alignment",
            "default": "center",
            "description": "`center`, `left`, or `right`."
          },
          "video_url": {
            "type": "string",
            "title": "Foreground video URL"
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "start_time": {
            "type": "string",
            "title": "Background video start time",
            "default": "0"
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "bg_image_url": {
            "type": "string",
            "title": "Background image URL",
            "default": ""
          },
          "bg_video_url": {
            "type": "string",
            "title": "Background video URL",
            "default": ""
          },
          "overlay_scale": {
            "type": "string",
            "title": "Overlay scale",
            "default": "0.6666"
          },
          "use_rembg_lib": {
            "type": "boolean",
            "title": "Use rembg library",
            "default": false
          },
          "crop_to_content": {
            "type": "boolean",
            "title": "Crop overlay to content",
            "default": true
          },
          "chroma_key_color": {
            "type": "string",
            "title": "Chroma key color",
            "default": "origin"
          },
          "chroma_tolerance": {
            "type": "string",
            "title": "Chroma tolerance",
            "default": "0.1"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_d8f09a0a085c15c6_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_d8f09a0a085c15c6_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_d8f09a0a085c15c6_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_d8f09a0a085c15c6_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_79953342fec1cd8c_ref0": {
        "type": "object",
        "title": "SoundEffectRequest",
        "required": [
          "video_url"
        ],
        "properties": {
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": "",
            "description": "Prompt describing the sound effect."
          },
          "video_url": {
            "type": "string",
            "title": "Video URL"
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_79953342fec1cd8c_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_79953342fec1cd8c_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_79953342fec1cd8c_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_79953342fec1cd8c_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_355c4a6c1c3778f3_ref0": {
        "type": "object",
        "title": "VideoEffectsRequest",
        "required": [
          "image_url"
        ],
        "properties": {
          "effect": {
            "type": "string",
            "title": "Effect name",
            "default": "BulletTime"
          },
          "option": {
            "type": "string",
            "title": "Effects tool",
            "default": "HiggsfieldEffects"
          },
          "prompt": {
            "type": "string",
            "title": "Prompt",
            "default": ""
          },
          "quantity": {
            "type": "integer",
            "title": "Quantity",
            "default": 1,
            "maximum": 4,
            "minimum": 1
          },
          "image_url": {
            "type": "string",
            "title": "Base image URL"
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          },
          "aspect_ratio": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^(\\d+):(\\d+)$"
              },
              {
                "type": "null"
              }
            ],
            "title": "Aspect Ratio"
          },
          "ref_image_url": {
            "type": "string",
            "title": "Optional reference image URL",
            "default": ""
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_355c4a6c1c3778f3_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_355c4a6c1c3778f3_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_355c4a6c1c3778f3_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_355c4a6c1c3778f3_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_3cc2b1ba4d75013c_ref0": {
        "type": "object",
        "title": "VideoToVideoRequest",
        "required": [
          "video_url"
        ],
        "properties": {
          "option": {
            "type": "string",
            "title": "Video modification tool",
            "default": "KlingT3"
          },
          "prompt": {
            "type": "string",
            "title": "Modification prompt",
            "default": ""
          },
          "image_url": {
            "type": "string",
            "title": "Optional reference image URL",
            "default": ""
          },
          "video_url": {
            "type": "string",
            "title": "Source video URL"
          },
          "async_mode": {
            "type": "boolean",
            "title": "Async Mode",
            "default": false
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook URL"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_3cc2b1ba4d75013c_ref1": {
        "type": "object",
        "title": "FailureResponseModel",
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": "ERROR CODE"
          }
        },
        "description": "Failure Response Model"
      },
      "sds_juE72Zb8vmMBGwc46sF0s_3cc2b1ba4d75013c_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_3cc2b1ba4d75013c_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_3cc2b1ba4d75013c_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref0": {
        "type": "object",
        "title": "CreateWorkflowRequest",
        "properties": {
          "id": {
            "type": "string",
            "title": "Workflow ID",
            "default": "",
            "description": "Optional client-provided UUID. If empty, a new id is generated."
          },
          "title": {
            "type": "string",
            "title": "Title",
            "default": ""
          },
          "options": {
            "type": "object",
            "title": "Options",
            "description": "Workflow options object.",
            "additionalProperties": true
          },
          "event_id": {
            "type": "string",
            "title": "Event ID",
            "default": "no_event",
            "description": "Event ID of the workflow."
          },
          "image_urls": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "title": "Image URLs",
            "description": "Input image URLs for workflow generation."
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          },
          "template_id": {
            "type": "string",
            "title": "Template ID",
            "default": "vim_wc26_team",
            "description": "Template ID of the workflow."
          },
          "visibility_status": {
            "type": "string",
            "title": "Visibility Status",
            "default": "1",
            "description": "Workflow visibility status."
          },
          "payment_session_id": {
            "type": "string",
            "title": "Payment Session ID",
            "default": "",
            "description": "Stripe Checkout session id when the event requires guest payment."
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref1": {
        "type": "object",
        "title": "WorkflowResponse",
        "properties": {
          "id": {
            "type": "string",
            "title": "ID",
            "default": ""
          },
          "model": {
            "type": "string",
            "title": "Template ID",
            "default": ""
          },
          "title": {
            "type": "string",
            "title": "Title",
            "default": ""
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "title": "Images"
          },
          "rating": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rating"
          },
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref3"
            },
            "title": "Result"
          },
          "options": {
            "type": "object",
            "title": "Options",
            "additionalProperties": true
          },
          "event_id": {
            "type": "string",
            "title": "Event ID",
            "default": ""
          },
          "media_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Media ID"
          },
          "created_at": {
            "type": "string",
            "title": "Created At",
            "default": ""
          },
          "history_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "History ID"
          },
          "posted_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Posted URL"
          },
          "updated_at": {
            "type": "string",
            "title": "Updated At",
            "default": ""
          },
          "completions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref2"
            },
            "title": "Completions"
          },
          "customer_id": {
            "type": "string",
            "title": "Customer ID",
            "default": ""
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          },
          "delivered_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delivered At"
          },
          "error_detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Detail"
          },
          "media_result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref4"
            },
            "title": "Media Result"
          },
          "used_credits": {
            "type": "integer",
            "title": "Used Credits",
            "default": 0
          },
          "total_duration": {
            "type": "integer",
            "title": "Total Duration",
            "default": 0
          },
          "primary_user_id": {
            "type": "string",
            "title": "Primary User ID",
            "default": ""
          },
          "event_submission": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ],
            "title": "Event Submission"
          },
          "processing_status": {
            "type": "string",
            "title": "Processing Status",
            "default": ""
          },
          "visibility_status": {
            "type": "string",
            "title": "Visibility Status",
            "default": ""
          },
          "progress_percentage": {
            "type": "integer",
            "title": "Progress Percentage",
            "default": 0
          }
        },
        "description": "Workflow API response.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref2": {
        "type": "object",
        "title": "WorkflowCompletionResponse",
        "properties": {
          "id": {
            "type": "string",
            "title": "Step ID",
            "default": ""
          },
          "flow": {
            "type": "string",
            "title": "Flow",
            "default": ""
          },
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref3"
            },
            "title": "Result"
          },
          "outputs": {
            "type": "object",
            "title": "Outputs",
            "additionalProperties": true
          },
          "payload": {
            "type": "object",
            "title": "Resolved step payload",
            "additionalProperties": true
          },
          "duration": {
            "type": "integer",
            "title": "Duration",
            "default": 0
          },
          "used_credits": {
            "type": "integer",
            "title": "Used Credits",
            "default": 0
          }
        },
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref3": {
        "type": "object",
        "title": "WorkflowOutputItem",
        "properties": {
          "url": {
            "type": "string",
            "title": "URL",
            "default": ""
          },
          "content_type": {
            "type": "string",
            "title": "Content Type",
            "default": ""
          }
        },
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref4": {
        "type": "object",
        "title": "WorkflowMediaResultItem",
        "properties": {
          "url": {
            "type": "string",
            "title": "URL",
            "default": ""
          },
          "size": {
            "type": "integer",
            "title": "Size",
            "default": 0
          },
          "updated_at": {
            "type": "string",
            "title": "Updated At",
            "default": ""
          }
        },
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref5": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref6"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref6": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_7ac1f6c3b84e5257_ref0": {
        "type": "object",
        "title": "EstimateWorkflowCreditsRequest",
        "properties": {
          "options": {
            "type": "object",
            "title": "Options",
            "description": "Template options; `pipeline_mode` (`image` vs `video`) selects list price when a template defines both.",
            "additionalProperties": true
          },
          "template_id": {
            "type": "string",
            "title": "Template ID",
            "default": "vim_wc26_team",
            "description": "Workflow template ID (same as POST /v2/workflow)."
          }
        },
        "description": "Body for estimating v2 workflow credits (same fields as create, without starting a job)."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_7ac1f6c3b84e5257_ref1": {
        "type": "object",
        "title": "EstimateWorkflowCreditsResponse",
        "required": [
          "total_credits",
          "breakdown"
        ],
        "properties": {
          "breakdown": {
            "type": "object",
            "title": "Breakdown",
            "description": "Template credit components and selected pipeline mode.",
            "additionalProperties": true
          },
          "total_credits": {
            "type": "integer",
            "title": "Total Credits",
            "description": "Estimated credits from the template list price for the given options."
          }
        },
        "description": "Credit estimate aligned with workflow template list prices (anonymous; no user balance)."
      },
      "sds_juE72Zb8vmMBGwc46sF0s_7ac1f6c3b84e5257_ref2": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_7ac1f6c3b84e5257_ref3"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_7ac1f6c3b84e5257_ref3": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_5203a421bf08af82_ref0": {
        "type": "object",
        "title": "ListWorkflowTemplatesResponse",
        "properties": {
          "count": {
            "type": "integer",
            "title": "Count",
            "default": 0
          },
          "detail": {
            "type": "boolean",
            "title": "Detail",
            "default": false,
            "description": "Whether each item is a full template definition (`true`) or a summary row (`false`)."
          },
          "workflow_templates": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            },
            "title": "Workflow Templates",
            "description": "Summary or full template objects depending on `detail`."
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_5203a421bf08af82_ref1": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_5203a421bf08af82_ref2"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_5203a421bf08af82_ref2": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_c31f8e62fff7a508_ref0": {
        "type": "object",
        "title": "WorkflowTemplateResponse",
        "properties": {
          "id": {
            "type": "string",
            "title": "Template ID",
            "default": ""
          },
          "active": {
            "type": "integer",
            "title": "Active",
            "default": 1
          },
          "version": {
            "type": "integer",
            "title": "Version",
            "default": 1
          },
          "user_designed": {
            "type": "integer",
            "title": "User Designed Template",
            "default": 0
          }
        },
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_c31f8e62fff7a508_ref1": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_c31f8e62fff7a508_ref2"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_c31f8e62fff7a508_ref2": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ead611d9b0914954_ref0": {
        "type": "object",
        "title": "WorkflowResponse",
        "properties": {
          "id": {
            "type": "string",
            "title": "ID",
            "default": ""
          },
          "model": {
            "type": "string",
            "title": "Template ID",
            "default": ""
          },
          "title": {
            "type": "string",
            "title": "Title",
            "default": ""
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "title": "Images"
          },
          "rating": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rating"
          },
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ead611d9b0914954_ref2"
            },
            "title": "Result"
          },
          "options": {
            "type": "object",
            "title": "Options",
            "additionalProperties": true
          },
          "event_id": {
            "type": "string",
            "title": "Event ID",
            "default": ""
          },
          "media_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Media ID"
          },
          "created_at": {
            "type": "string",
            "title": "Created At",
            "default": ""
          },
          "history_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "History ID"
          },
          "posted_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Posted URL"
          },
          "updated_at": {
            "type": "string",
            "title": "Updated At",
            "default": ""
          },
          "completions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ead611d9b0914954_ref1"
            },
            "title": "Completions"
          },
          "customer_id": {
            "type": "string",
            "title": "Customer ID",
            "default": ""
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          },
          "delivered_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delivered At"
          },
          "error_detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Detail"
          },
          "media_result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ead611d9b0914954_ref3"
            },
            "title": "Media Result"
          },
          "used_credits": {
            "type": "integer",
            "title": "Used Credits",
            "default": 0
          },
          "total_duration": {
            "type": "integer",
            "title": "Total Duration",
            "default": 0
          },
          "primary_user_id": {
            "type": "string",
            "title": "Primary User ID",
            "default": ""
          },
          "event_submission": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ],
            "title": "Event Submission"
          },
          "processing_status": {
            "type": "string",
            "title": "Processing Status",
            "default": ""
          },
          "visibility_status": {
            "type": "string",
            "title": "Visibility Status",
            "default": ""
          },
          "progress_percentage": {
            "type": "integer",
            "title": "Progress Percentage",
            "default": 0
          }
        },
        "description": "Workflow API response.",
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ead611d9b0914954_ref1": {
        "type": "object",
        "title": "WorkflowCompletionResponse",
        "properties": {
          "id": {
            "type": "string",
            "title": "Step ID",
            "default": ""
          },
          "flow": {
            "type": "string",
            "title": "Flow",
            "default": ""
          },
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ead611d9b0914954_ref2"
            },
            "title": "Result"
          },
          "outputs": {
            "type": "object",
            "title": "Outputs",
            "additionalProperties": true
          },
          "payload": {
            "type": "object",
            "title": "Resolved step payload",
            "additionalProperties": true
          },
          "duration": {
            "type": "integer",
            "title": "Duration",
            "default": 0
          },
          "used_credits": {
            "type": "integer",
            "title": "Used Credits",
            "default": 0
          }
        },
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ead611d9b0914954_ref2": {
        "type": "object",
        "title": "WorkflowOutputItem",
        "properties": {
          "url": {
            "type": "string",
            "title": "URL",
            "default": ""
          },
          "content_type": {
            "type": "string",
            "title": "Content Type",
            "default": ""
          }
        },
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ead611d9b0914954_ref3": {
        "type": "object",
        "title": "WorkflowMediaResultItem",
        "properties": {
          "url": {
            "type": "string",
            "title": "URL",
            "default": ""
          },
          "size": {
            "type": "integer",
            "title": "Size",
            "default": 0
          },
          "updated_at": {
            "type": "string",
            "title": "Updated At",
            "default": ""
          }
        },
        "additionalProperties": true
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ead611d9b0914954_ref4": {
        "type": "object",
        "title": "HTTPValidationError",
        "properties": {
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ead611d9b0914954_ref5"
            },
            "title": "Detail"
          }
        }
      },
      "sds_juE72Zb8vmMBGwc46sF0s_ead611d9b0914954_ref5": {
        "type": "object",
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "properties": {
          "ctx": {
            "type": "object",
            "title": "Context"
          },
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          }
        }
      }
    }
  },
  "paths": {
    "/v2/asset/{asset_id}": {
      "get": {
        "summary": "Get Asset",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_335cf42083f21c33_ref0"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "asset_id",
            "schema": {
              "type": "string",
              "title": "Asset ID",
              "examples": [
                "abc123-def456-ghi789"
              ],
              "description": "Unique identifier of the asset"
            },
            "example": "abc123-def456-ghi789",
            "required": true,
            "description": "Unique identifier of the asset"
          },
          {
            "in": "query",
            "name": "fields",
            "schema": {
              "type": "string",
              "title": "Name of the fields to get from asset.",
              "default": "",
              "description": "Values should be separated by comma. Ex: 'title, description, visibility_status'"
            },
            "required": false,
            "description": "Values should be separated by comma. Ex: 'title, description, visibility_status'"
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          }
        ],
        "description": "Get asset(Image, Video, Audio) detail with id.",
        "operationId": "get_asset_v2_asset__asset_id__get",
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Response schema details are missing in documentation."
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_I7gX46koEng48qVabHSNJ",
            "authority": "supplemental",
            "conflicts": [
              "/parameters/query/fields/description"
            ],
            "revisionId": "sdrn_7a4e8H9IHgcgTw2cjygKX"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "video"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/audio/estimate-credits": {
      "post": {
        "summary": "Estimate Credits",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_671d530a6069f294_ref1"
                }
              }
            },
            "description": "Credit estimate and breakdown"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_671d530a6069f294_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "description": "Estimates credits **without** creating an asset.\n\n| Field | Required | Notes |\n|-------|----------|-------|\n| `app_name` | Yes | `text-to-speech`, `text-to-audio`, `text-to-music`, `upload-audio` |\n| `option` | Yes | Tool/model for that route: `AutoA`, `ElevenLabsTTS`, `ChirpTTS`, `MinimaxTTS`, `Lyria`, `ElevenLabsSE`, `MMAudio`, `QwenVoiceClone` |\n| `quantity` | No | Default `1` |\n| `prompt` | No | Length-based pricing when applicable |\n| `duration` | No | Seconds (sound effects) |\n| `voice` | No | e.g. `AutoV` (text-to-speech) |",
        "operationId": "estimate_audio_credits_api_v2_audio_estimate_credits_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_671d530a6069f294_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string",
                    "description": "Model/tool option on the target audio endpoint."
                  },
                  "prompt": {
                    "type": "string",
                    "description": "Prompt"
                  },
                  "app_name": {
                    "type": "string",
                    "description": "Internal route id on the asset record. Available values: text-to-speech, text-to-audio, text-to-music, upload-audio"
                  },
                  "duration": {
                    "type": "integer",
                    "description": "Duration in seconds"
                  },
                  "quantity": {
                    "type": "integer",
                    "description": "Quantity"
                  },
                  "audio_duration": {
                    "type": "number",
                    "description": "Explicit seconds override"
                  }
                },
                "description": "Parameters to price (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_2zjLP4_0ljd9u6vwDbV2k",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_NIdr8aLXG9pJ0g1DB3Wq_"
          },
          {
            "gaps": [
              "Missing request body and response schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "audio"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/audio/text-2-music": {
      "post": {
        "summary": "Text 2 Music",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "voice": "AutoV",
                    "option": "ElevenLabsTTS",
                    "prompt": "Welcome to the show."
                  },
                  "status": "success",
                  "credits": 8,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_audio/a1b2c3d4/output.mp3"
                  ],
                  "app_name": "text-to-speech",
                  "quantity": 1,
                  "mime_type": "audio/mp3",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [],
                  "updated_at": "2025-05-06T16:36:12.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Generated music"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ea034de2605ace22_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ea034de2605ace22_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Music from **`prompt`**. Returns WAV in **`results`**.\n\n**`option`:** `AutoA`, `Lyria`",
        "operationId": "generate_music_v2_audio_text_2_music_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ea034de2605ace22_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string",
                    "description": "Lyria."
                  },
                  "prompt": {
                    "type": "string",
                    "description": "Music description."
                  }
                },
                "description": "Music parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_2zjLP4_0ljd9u6vwDbV2k",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_NIdr8aLXG9pJ0g1DB3Wq_"
          },
          {
            "gaps": [
              "Missing request body and response schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "audio"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service audio)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "audio",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/audio/text-2-sound-effect": {
      "post": {
        "summary": "Text 2 Sound Effect",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "voice": "AutoV",
                    "option": "ElevenLabsTTS",
                    "prompt": "Welcome to the show."
                  },
                  "status": "success",
                  "credits": 8,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_audio/a1b2c3d4/output.mp3"
                  ],
                  "app_name": "text-to-speech",
                  "quantity": 1,
                  "mime_type": "audio/mp3",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [],
                  "updated_at": "2025-05-06T16:36:12.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Generated sound effect"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e53f4f39e14c7e06_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e53f4f39e14c7e06_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Sound effect from **`prompt`**. **`duration`**: length in seconds (default `5`), should be less than 22 sec for ElevenLabsSE.\n\n**`option`:** `AutoA`, `ElevenLabsSE`, `MMAudio`",
        "operationId": "generate_sound_effects_v2_audio_text_2_sound_effect_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e53f4f39e14c7e06_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string",
                    "description": "ElevenLabsSE or MMAudio."
                  },
                  "prompt": {
                    "type": "string",
                    "description": "Sound effects description."
                  },
                  "duration": {
                    "type": "integer",
                    "description": "Duration in seconds."
                  }
                },
                "description": "Sound-effect parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_2zjLP4_0ljd9u6vwDbV2k",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_NIdr8aLXG9pJ0g1DB3Wq_"
          },
          {
            "gaps": [
              "Missing request body and response schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "audio"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service audio)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "audio",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/audio/text-2-speech": {
      "post": {
        "summary": "Text 2 Speech",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "voice": "AutoV",
                    "option": "ElevenLabsTTS",
                    "prompt": "Welcome to the show."
                  },
                  "status": "success",
                  "credits": 8,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_audio/a1b2c3d4/output.mp3"
                  ],
                  "app_name": "text-to-speech",
                  "quantity": 1,
                  "mime_type": "audio/mp3",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [],
                  "updated_at": "2025-05-06T16:36:12.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Generated speech"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_7aae71af191a83ff_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_7aae71af191a83ff_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Text-to-speech from **`prompt`**.\n\n| Field | Default | Notes |\n|-------|---------|-------|\n| `voice` | `AutoV` | See schema for voice names |\n| `option` | `ElevenLabsTTS` | Available: `AutoA`, `ElevenLabsTTS`, `ChirpTTS`, `MinimaxTTS` |\n| `language` | `\"\"` | e.g. `en-US`; auto-detected if empty |\n\n```python\nimport requests\n\nr = requests.post(\n    \"https://api.vimmerse.net/v2/audio/text-2-speech\",\n    headers={\"X-Api-Key\": \"YOUR_API_KEY\", \"Content-Type\": \"application/json\"},\n    json={\"prompt\": \"Hello from Vimmerse.\", \"voice\": \"AutoV\", \"option\": \"ElevenLabsTTS\"},\n    timeout=300,\n)\nprint(r.json()[\"results\"])\n```",
        "operationId": "generate_text_2_speech_v2_audio_text_2_speech_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_7aae71af191a83ff_ref0",
                "type": "object",
                "properties": {
                  "voice": {
                    "type": "string",
                    "description": "Voice ID or name."
                  },
                  "option": {
                    "type": "string",
                    "description": "ElevenLabsTTS, ChirpTTS, or MinimaxTTS."
                  },
                  "prompt": {
                    "type": "string",
                    "description": "Speech text."
                  },
                  "language": {
                    "type": "string",
                    "description": "Language code, e.g. en-US."
                  }
                },
                "description": "Text-to-speech parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_2zjLP4_0ljd9u6vwDbV2k",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_NIdr8aLXG9pJ0g1DB3Wq_"
          },
          {
            "gaps": [
              "Missing request body and response schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "audio"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service audio)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "audio",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/image/edit-image": {
      "post": {
        "summary": "Edit Image",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Response Edit Img Api V2 Image Edit Image Post",
                  "additionalProperties": true
                },
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "option": "AutoI",
                    "prompt": "A serene landscape with mountains and a lake at sunset",
                    "quantity": 1,
                    "async_mode": false,
                    "aspect_ratio": "16:9",
                    "enhance_image": false
                  },
                  "status": "success",
                  "credits": 12,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_images/a1b2c3d4-e5f6-7890-abcd-ef1234567890/output.png"
                  ],
                  "app_name": "text-to-image",
                  "quantity": 1,
                  "mime_type": "image/png",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [],
                  "updated_at": "2025-05-06T16:36:12.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Asset with modified image URL(s) in `results`"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_4013b140424b5488_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_4013b140424b5488_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Edits an image: remove text, upscale, reframe, expand aspect ratio, or inpaint masked regions.\n\n**`option`:** `LumaReframe`, `RemoveText`, `ExpandToAspectRatio`, `Upscale`, `TopazUpscale`, `Inpaint`\n\n| `option` | Required fields |\n|----------|-----------------|\n| `RemoveText` | `image_url` |\n| `Upscale` | `image_url` |\n| `TopazUpscale` | `image_url` |\n| `ExpandToAspectRatio` | `image_url`, `aspect_ratio` |\n| `Inpaint` | `image_url`, `mask_url`, `prompt` |\n| `LumaReframe` | `image_url`, `reframe_parameters` |\n\n### Example — remove text\n\n```python\nimport requests\n\nurl = \"https://api.vimmerse.net/v2/image/edit-image\"\nheaders = {\n    \"X-Api-Key\": \"YOUR_API_KEY\",\n    \"Content-Type\": \"application/json\",\n}\npayload = {\n    \"image_url\": \"https://media.vimmerse.net/example/sign.png\",\n    \"option\": \"RemoveText\",\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=300)\nresponse.raise_for_status()\nprint(response.json()[\"results\"])\n```\n\n### Example — inpaint\n\n```python\npayload = {\n    \"image_url\": \"https://media.vimmerse.net/example/room.png\",\n    \"mask_url\": \"https://media.vimmerse.net/example/room_mask.png\",\n    \"option\": \"Inpaint\",\n    \"prompt\": \"Add a mountain view through the window\",\n    \"quantity\": 1,\n}\n```",
        "operationId": "edit_img_api_v2_image_edit_image_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_4013b140424b5488_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "mask_url": {
                    "type": "string"
                  },
                  "quantity": {
                    "type": "integer"
                  },
                  "image_url": {
                    "type": "string"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "aspect_ratio": {
                    "type": "string"
                  },
                  "expand_method": {
                    "type": "string"
                  },
                  "expand_direction": {
                    "type": "string"
                  },
                  "reframe_parameters": {
                    "type": "string"
                  }
                },
                "description": "Edit image parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_QvE05LYjU8otUVmjHrCm4",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_cKjCHYa4fpcVXnJJHQ6-Y"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "image"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service image)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "image",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/image/elements": {
      "post": {
        "summary": "Elements",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Response Elements Api V2 Image Elements Post",
                  "additionalProperties": true
                },
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "option": "AutoI",
                    "prompt": "A serene landscape with mountains and a lake at sunset",
                    "quantity": 1,
                    "async_mode": false,
                    "aspect_ratio": "16:9",
                    "enhance_image": false
                  },
                  "status": "success",
                  "credits": 12,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_images/a1b2c3d4-e5f6-7890-abcd-ef1234567890/output.png"
                  ],
                  "app_name": "text-to-image",
                  "quantity": 1,
                  "mime_type": "image/png",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [],
                  "updated_at": "2025-05-06T16:36:12.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Asset with generated image URL(s) in `results`"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_67bee184c7434f8a_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_67bee184c7434f8a_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Generates or edits an image using a **main** image plus **reference** images (characters, objects, environments).\n\nPass all images as **`image_urls`**: the first URL is the main image; the rest are references. Limits depend on `option` (see field description in the schema).\n\n**`option`:** `AutoI`, `Seedream`, `NanoBananaT2`, `NanoBananaPro`, `QwenImage`, `GPTFast`, `GPTImage`, `FluxKlein`, `FluxPro`, `FluxTurbo`, `NanoBanana`\n\n### Example\n\n```python\nimport requests\n\nurl = \"https://api.vimmerse.net/v2/image/elements\"\nheaders = {\n    \"X-Api-Key\": \"YOUR_API_KEY\",\n    \"Content-Type\": \"application/json\",\n}\npayload = {\n    \"image_urls\": [\n        \"https://media.vimmerse.net/example/main.png\",\n        \"https://media.vimmerse.net/example/ref_character.png\",\n    ],\n    \"prompt\": \"Place the character naturally in the scene, photorealistic\",\n    \"option\": \"AutoI\",\n    \"aspect_ratio\": \"16:9\",\n    \"quantity\": 1,\n    \"swap_faces\": False,\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=300)\nresponse.raise_for_status()\nprint(response.json()[\"results\"])\n```",
        "operationId": "elements_api_v2_image_elements_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_67bee184c7434f8a_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "quantity": {
                    "type": "integer"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "image_urls": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "swap_faces": {
                    "type": "boolean"
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "aspect_ratio": {
                    "type": "string"
                  },
                  "enhance_image": {
                    "type": "boolean"
                  }
                },
                "description": "Elements parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_QvE05LYjU8otUVmjHrCm4",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_cKjCHYa4fpcVXnJJHQ6-Y"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "image"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service image)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "image",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/image/estimate-credits": {
      "post": {
        "summary": "Estimate Credits",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_284f0b4df7f8eb38_ref1"
                }
              }
            },
            "description": "Credit estimate and breakdown"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_284f0b4df7f8eb38_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "description": "Returns how many credits an image generation request would charge for the given `app_name`, `option`, `quantity`, and optional `prompt`, **without** creating an asset.\n\nUses the same billing rules as **POST /v2/image/** generation routes. Send **Content-Type: application/json**.\n\n| Field | Required | Notes |\n|-------|----------|-------|\n| `app_name` | Yes | `text-to-image`, `image-to-image`, `image-elements`, `replace-bg`, `edit-image`, `face-swap`, `try-on`, `upload-image` |\n| `option` | Yes | Tool/model for that route: `AutoI`, `Seedream`, `NanoBananaT2`, `NanoBananaPro`, `QwenImage`, `GPTFast`, `GPTImage`, `FluxKlein`, `FluxPro`, `FluxTurbo`, `ImageUtilsDepth`, `NanoBanana`, `NanoBananaTryOn`, `SeedreamTryOn`, `KlingTryOn`, `FashnTryOn`, `KontextTryOn`, `RemoveBackground`, `ReplaceBackground`, `RestyleBackground`, `LumaReframe`, `StableDiffusion3.5`, `RemoveText`, `ExpandToAspectRatio`, `Upscale`, `TopazUpscale`, `NanoBananaFaceSwap`, `SeedreamFaceSwap`, `MagicFaceSwap`, `EaselFaceSwap`, `SegmindFaceSwap`, `Inpaint` |\n| `quantity` | No | Default `1` |\n| `prompt` | No | Optional prompt |\n\n### Example\n\n```python\nimport requests\n\nurl = \"https://api.vimmerse.net/v2/image/estimate-credits\"\nheaders = {\"Content-Type\": \"application/json\"}\npayload = {\n    \"app_name\": \"text-to-image\",\n    \"option\": \"NanoBanana\",\n    \"quantity\": 2,\n    \"prompt\": \"Product photo of running shoes on a gradient background\",\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=30)\nresponse.raise_for_status()\nprint(response.json())\n```",
        "operationId": "estimate_image_credits_api_v2_image_estimate_credits_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_284f0b4df7f8eb38_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "app_name": {
                    "type": "string"
                  },
                  "quantity": {
                    "type": "integer"
                  }
                },
                "description": "Parameters to price (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_QvE05LYjU8otUVmjHrCm4",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_cKjCHYa4fpcVXnJJHQ6-Y"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "image"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/image/face-swap": {
      "post": {
        "summary": "Face Swap",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Response Face Swap Api V2 Image Face Swap Post",
                  "additionalProperties": true
                },
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "option": "AutoI",
                    "prompt": "A serene landscape with mountains and a lake at sunset",
                    "quantity": 1,
                    "async_mode": false,
                    "aspect_ratio": "16:9",
                    "enhance_image": false
                  },
                  "status": "success",
                  "credits": 12,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_images/a1b2c3d4-e5f6-7890-abcd-ef1234567890/output.png"
                  ],
                  "app_name": "text-to-image",
                  "quantity": 1,
                  "mime_type": "image/png",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [],
                  "updated_at": "2025-05-06T16:36:12.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Asset with face-swapped image URL(s) in `results`"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_97d8d35c46d7fb81_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_97d8d35c46d7fb81_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Swaps faces in a **target** image using one or more **reference** face images.\n\n- **`image_urls[0]`** — target image containing face(s) to replace  \n- **`image_urls[1:]`** — reference faces  \n- **`order_indices`** — optional mapping of target face indices (left-to-right from `0`)\n\n**`option`:** `NanoBananaFaceSwap`, `SeedreamFaceSwap`, `MagicFaceSwap`, `EaselFaceSwap`, `SegmindFaceSwap`\n\n### Example\n\n```python\nimport requests\n\nurl = \"https://api.vimmerse.net/v2/image/face-swap\"\nheaders = {\n    \"X-Api-Key\": \"YOUR_API_KEY\",\n    \"Content-Type\": \"application/json\",\n}\npayload = {\n    \"image_urls\": [\n        \"https://media.vimmerse.net/example/group_photo.png\",\n        \"https://media.vimmerse.net/example/face_a.png\",\n        \"https://media.vimmerse.net/example/face_b.png\",\n    ],\n    \"option\": \"NanoBananaFaceSwap\",\n    \"face_only_mode\": True,\n    \"multi_face_mode\": True,\n    \"order_indices\": [0, 1],\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=300)\nresponse.raise_for_status()\nprint(response.json()[\"results\"])\n```",
        "operationId": "face_swap_api_v2_image_face_swap_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_97d8d35c46d7fb81_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "image_urls": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "order_indices": {
                    "type": "array",
                    "items": {
                      "type": "integer"
                    }
                  },
                  "face_only_mode": {
                    "type": "boolean"
                  },
                  "multi_face_mode": {
                    "type": "boolean"
                  }
                },
                "description": "Face swap parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_QvE05LYjU8otUVmjHrCm4",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_cKjCHYa4fpcVXnJJHQ6-Y"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "image"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service image)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "image",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/image/image-2-image": {
      "post": {
        "summary": "Image to Image",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "option": "AutoI",
                    "prompt": "A serene landscape with mountains and a lake at sunset",
                    "quantity": 1,
                    "async_mode": false,
                    "aspect_ratio": "16:9",
                    "enhance_image": false
                  },
                  "status": "success",
                  "credits": 12,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_images/a1b2c3d4-e5f6-7890-abcd-ef1234567890/output.png"
                  ],
                  "app_name": "text-to-image",
                  "quantity": 1,
                  "mime_type": "image/png",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [],
                  "updated_at": "2025-05-06T16:36:12.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Asset with generated image URL(s) in `results`"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_333c4b6f59c504d9_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_333c4b6f59c504d9_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Transforms or reimagines a source image using a text prompt.\n\nProvide **`image_url`** (from upload or any public HTTPS URL). Response asset URLs are in **`results`**.\n\n### Parameters\n\n| Field | Type | Default | Description |\n|-------|------|---------|-------------|\n| `image_url` | string | **required** | Source image URL |\n| `prompt` | string | `\"\"` | Desired edits or style |\n| `option` | string | `AutoI` | Edit model/mode. Available: `AutoI`, `Seedream`, `NanoBananaT2`, `NanoBananaPro`, `QwenImage`, `GPTFast`, `GPTImage`, `FluxKlein`, `FluxPro`, `FluxTurbo`, `ImageUtilsDepth`, `NanoBanana`, `StableDiffusion3.5` |\n| `aspect_ratio` | string | — | Optional output ratio |\n| `quantity` | integer | `1` | Variations (1–4) |\n| `enhance_image` | boolean | `false` | Super-resolution post-processing |\n| `async_mode` | boolean | `false` | Async processing |\n| `webhook_url` | string | — | Optional callback |\n\n### Example\n\n```python\nimport requests\n\nurl = \"https://api.vimmerse.net/v2/image/image-2-image\"\nheaders = {\n    \"X-Api-Key\": \"YOUR_API_KEY\",\n    \"Content-Type\": \"application/json\",\n}\npayload = {\n    \"image_url\": \"https://media.vimmerse.net/example/uploads/shoe.png\",\n    \"prompt\": \"Make the shoe blue with a sky background\",\n    \"option\": \"AutoI\",\n    \"aspect_ratio\": \"16:9\",\n    \"quantity\": 1,\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=300)\nresponse.raise_for_status()\nprint(response.json()[\"results\"])\n```",
        "operationId": "image_2_image_api_v2_image_image_2_image_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_333c4b6f59c504d9_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "quantity": {
                    "type": "integer"
                  },
                  "image_url": {
                    "type": "string"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "aspect_ratio": {
                    "type": "string"
                  },
                  "enhance_image": {
                    "type": "boolean"
                  }
                },
                "description": "Image-to-image parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_QvE05LYjU8otUVmjHrCm4",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_cKjCHYa4fpcVXnJJHQ6-Y"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "image"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service image)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "image",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/image/replace-background": {
      "post": {
        "summary": "Replace Background",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Response Replace Background Api V2 Image Replace Background Post",
                  "additionalProperties": true
                },
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "option": "AutoI",
                    "prompt": "A serene landscape with mountains and a lake at sunset",
                    "quantity": 1,
                    "async_mode": false,
                    "aspect_ratio": "16:9",
                    "enhance_image": false
                  },
                  "status": "success",
                  "credits": 12,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_images/a1b2c3d4-e5f6-7890-abcd-ef1234567890/output.png"
                  ],
                  "app_name": "text-to-image",
                  "quantity": 1,
                  "mime_type": "image/png",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [],
                  "updated_at": "2025-05-06T16:36:12.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Asset with modified image URL(s) in `results`"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_75141e2d075abf65_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_75141e2d075abf65_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Removes, replaces, or restyles the background of an image.\n\n**`option`:** `RemoveBackground`, `ReplaceBackground`, `RestyleBackground`\n\n| `option` | `image2_url` | Behavior |\n|----------|--------------|----------|\n| `RemoveBackground` | omit | Transparent PNG foreground |\n| `ReplaceBackground` | required | New background image |\n| `RestyleBackground` | required | Style reference image |\n\n### Example — remove background\n\n```python\nimport requests\n\nurl = \"https://api.vimmerse.net/v2/image/replace-background\"\nheaders = {\n    \"X-Api-Key\": \"YOUR_API_KEY\",\n    \"Content-Type\": \"application/json\",\n}\npayload = {\n    \"image_url\": \"https://media.vimmerse.net/example/product.png\",\n    \"option\": \"RemoveBackground\",\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=300)\nresponse.raise_for_status()\nprint(response.json()[\"results\"])\n```\n\n### Example — replace background\n\n```python\npayload = {\n    \"image_url\": \"https://media.vimmerse.net/example/product.png\",\n    \"image2_url\": \"https://media.vimmerse.net/example/studio_bg.png\",\n    \"option\": \"ReplaceBackground\",\n}\n```",
        "operationId": "replace_background_api_v2_image_replace_background_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_75141e2d075abf65_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string"
                  },
                  "image_url": {
                    "type": "string"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "image2_url": {
                    "type": "string"
                  },
                  "webhook_url": {
                    "type": "string"
                  }
                },
                "description": "Replace background parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_QvE05LYjU8otUVmjHrCm4",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_cKjCHYa4fpcVXnJJHQ6-Y"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "image"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service image)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "image",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/image/text-2-image": {
      "post": {
        "summary": "Text to Image",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "option": "AutoI",
                    "prompt": "A serene landscape with mountains and a lake at sunset",
                    "quantity": 1,
                    "async_mode": false,
                    "aspect_ratio": "16:9",
                    "enhance_image": false
                  },
                  "status": "success",
                  "credits": 12,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_images/a1b2c3d4-e5f6-7890-abcd-ef1234567890/output.png"
                  ],
                  "app_name": "text-to-image",
                  "quantity": 1,
                  "mime_type": "image/png",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [],
                  "updated_at": "2025-05-06T16:36:12.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Asset with generated image URL(s) in `results`"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ac187626bbb6c308_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ac187626bbb6c308_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Generates one or more images from a text prompt.\n\nSend **Content-Type: application/json**. The response is an asset object; output URLs are in **`results`**.\n\n### Parameters\n\n| Field | Type | Default | Description |\n|-------|------|---------|-------------|\n| `prompt` | string | — | Text description of the desired image |\n| `quantity` | integer | `1` | Number of images (1–4) |\n| `option` | string | `AutoI` | Model/tool (`AutoI` picks automatically). Available: `AutoI`, `Seedream`, `NanoBananaT2`, `NanoBananaPro`, `QwenImage`, `GPTFast`, `GPTImage`, `FluxKlein`, `FluxPro`, `FluxTurbo`, `NanoBanana`, `StableDiffusion3.5` |\n| `aspect_ratio` | string | `16:9` | e.g. `21:9`, `16:9`, `4:3`, `1:1`, `9:16` |\n| `enhance_image` | boolean | `false` | Apply 1× super-resolution post-processing |\n| `async_mode` | boolean | `false` | Return immediately with `status: processing` |\n| `webhook_url` | string | — | Optional callback URL when complete |\n\n### Example\n\n```python\nimport requests\n\nurl = \"https://api.vimmerse.net/v2/image/text-2-image\"\nheaders = {\n    \"X-Api-Key\": \"YOUR_API_KEY\",\n    \"Content-Type\": \"application/json\",\n}\npayload = {\n    \"prompt\": \"A serene landscape with mountains and a lake at sunset, cinematic lighting\",\n    \"quantity\": 2,\n    \"option\": \"AutoI\",\n    \"aspect_ratio\": \"16:9\",\n    \"enhance_image\": False,\n    \"async_mode\": False,\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=300)\nresponse.raise_for_status()\nasset = response.json()\nprint(asset[\"id\"], asset[\"status\"], asset[\"results\"])\n```",
        "operationId": "generate_prompt_2_image_v2_image_text_2_image_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ac187626bbb6c308_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "quantity": {
                    "type": "integer"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "aspect_ratio": {
                    "type": "string"
                  },
                  "enhance_image": {
                    "type": "boolean"
                  }
                },
                "description": "Text-to-image parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_QvE05LYjU8otUVmjHrCm4",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description"
            ],
            "revisionId": "sdrn_cKjCHYa4fpcVXnJJHQ6-Y"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "image"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service image)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "image",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/image/try-on": {
      "post": {
        "summary": "Try On",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Response Virtual Try On Api V2 Image Try On Post",
                  "additionalProperties": true
                },
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "option": "AutoI",
                    "prompt": "A serene landscape with mountains and a lake at sunset",
                    "quantity": 1,
                    "async_mode": false,
                    "aspect_ratio": "16:9",
                    "enhance_image": false
                  },
                  "status": "success",
                  "credits": 12,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_images/a1b2c3d4-e5f6-7890-abcd-ef1234567890/output.png"
                  ],
                  "app_name": "text-to-image",
                  "quantity": 1,
                  "mime_type": "image/png",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [],
                  "updated_at": "2025-05-06T16:36:12.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Asset with try-on image URL(s) in `results`"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_33185fda9dc59158_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_33185fda9dc59158_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Virtual try-on: composites clothing from **`clothes_image_url`** onto the person in **`human_image_url`**.\n\n**`option`:** `NanoBananaTryOn`, `SeedreamTryOn`, `KlingTryOn`, `FashnTryOn`, `KontextTryOn`\n\n### Example\n\n```python\nimport requests\n\nurl = \"https://api.vimmerse.net/v2/image/try-on\"\nheaders = {\n    \"X-Api-Key\": \"YOUR_API_KEY\",\n    \"Content-Type\": \"application/json\",\n}\npayload = {\n    \"human_image_url\": \"https://media.vimmerse.net/example/model.png\",\n    \"clothes_image_url\": \"https://media.vimmerse.net/example/jacket.png\",\n    \"option\": \"NanoBananaTryOn\",\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=300)\nresponse.raise_for_status()\nprint(response.json()[\"results\"])\n```",
        "operationId": "virtual_try_on_api_v2_image_try_on_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_33185fda9dc59158_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "human_image_url": {
                    "type": "string"
                  },
                  "clothes_image_url": {
                    "type": "string"
                  }
                },
                "description": "Virtual try-on parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_QvE05LYjU8otUVmjHrCm4",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_cKjCHYa4fpcVXnJJHQ6-Y"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "image"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service image)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "image",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/media": {
      "post": {
        "summary": "Create Media",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "abc123-def456-ghi789",
                  "title": "Example Media",
                  "result": [],
                  "version": "3",
                  "created_at": "2025-04-01T18:57:37.355064+00:00",
                  "updated_at": "2025-04-01T18:57:55.502020+00:00",
                  "customer_id": "customer123",
                  "description": "Media description",
                  "pose_preset": {
                    "loop": 1,
                    "prompt": "A cinematic shot over mountains at sunrise",
                    "quantity": 1,
                    "motion_type": "Auto",
                    "motion_length": 5
                  },
                  "webhook_url": "",
                  "duration_time": "5",
                  "submit_params": {
                    "file_size": "",
                    "native_audio": true,
                    "scale_factor": "1"
                  },
                  "primary_user_id": "user-abc-123",
                  "processing_status": "new"
                }
              }
            },
            "description": "New Media"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "404": {
            "content": {
              "application/json": {
                "example": {
                  "code": "MEDIA_NOT_FOUND",
                  "message": "The requested media was not found or you do not have access."
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_2d7154ea3285d66f_ref3"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Creates a new media object and starts asynchronous video generation.\n\nSend a request with **Content-Type: application/json**. The body may include creative intent (`prompt`), optional media references (`media_items`), and generation options such as `video_tool`, `duration`, and `aspect_ratio`.\n\nThe API validates the request, checks credits, creates the media record, queues the generation job, and returns immediately with a media object for tracking progress.\n\n## Examples\n\n### Example Response (200)\n\nResponse body uses the same fields as the example below.\n\n```json\n{\n  \"id\": \"abc123-def456-ghi789\",\n  \"title\": \"Example Media\",\n  \"description\": \"Media description\",\n  \"customer_id\": \"customer123\",\n  \"primary_user_id\": \"user-abc-123\",\n  \"media_items\": null,\n  \"duration_time\": \"5\",\n  \"processing_status\": \"new\",\n  \"pose_preset\": {\n    \"motion_type\": \"Auto\",\n    \"prompt\": \"A cinematic shot over mountains at sunrise\",\n    \"quantity\": 1,\n    \"motion_length\": 5,\n    \"loop\": 1\n  },\n  \"submit_params\": {\"native_audio\": true, \"file_size\": \"\", \"scale_factor\": \"1\"},\n  \"result\": [],\n  \"webhook_url\": \"\",\n  \"created_at\": \"2025-04-01T18:57:37.355064+00:00\",\n  \"updated_at\": \"2025-04-01T18:57:55.502020+00:00\",\n  \"version\": \"3\"\n}\n```\n\n### Example 1: Create Media (Python)\n\nCopy and run this as-is, then replace only `YOUR_API_KEY`.\n\n```python\nimport requests\n\nBASE_URL = \"https://api.vimmerse.net\"\nAPI_KEY = \"YOUR_API_KEY\"\n\nurl = f\"{BASE_URL}/v2/media\"\nheaders = {\n    \"X-Api-Key\": API_KEY,\n    \"Content-Type\": \"application/json\",\n}\n\npayload = {\n    \"title\": \"Product Launch Clip\",\n    \"description\": \"Short cinematic intro for a new product\",\n    \"prompt\": \"Smooth camera move from the product photo to the lifestyle photo\",\n    \"media_items\": [\n        {\n            \"type\": \"image\",\n            \"url\": \"https://example.com/watch-front.png\",\n            \"position\": \"First\"\n        },\n        {\n            \"type\": \"image\",\n            \"url\": \"https://example.com/watch-lifestyle.png\",\n            \"position\": \"Last\"\n        }\n    ],\n    \"video_tool\": \"Auto\",\n    \"duration\": 5,\n    \"quantity\": 1,\n    \"loop\": 1,\n    \"aspect_ratio\": \"16:9\",\n    \"audio_option\": {\n        \"narrator\": \"Sarah\",\n        \"narration\": \"Introducing the next generation of smart performance.\"\n    }\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=60)\nresponse.raise_for_status()\nresult = response.json()\nprint(result)\n```\n\n### Example 2: Full Flow (Create -> Poll -> Fetch -> Download)\n\nCopy and run this as-is, then replace only `YOUR_API_KEY`.\n\n```python\nimport requests\nimport time\n\nBASE_URL = \"https://api.vimmerse.net\"\nAPI_KEY = \"YOUR_API_KEY\"\nHEADERS = {\n    \"X-Api-Key\": API_KEY,\n    \"Content-Type\": \"application/json\",\n}\n\n# 1) Create media\ncreate_url = f\"{BASE_URL}/v2/media\"\ncreate_payload = {\n    \"title\": \"AI Demo Video\",\n    \"prompt\": \"A cinematic drone shot over snow mountains at sunrise with dramatic clouds\",\n    \"video_tool\": \"Auto\",\n    \"duration\": 5,\n    \"quantity\": 1,\n    \"loop\": 1,\n    \"aspect_ratio\": \"16:9\",\n    \"audio_option\": {\n        \"native_audio\": true\n    }\n}\n\ncreate_res = requests.post(create_url, headers=HEADERS, json=create_payload, timeout=60)\ncreate_res.raise_for_status()\ncreate_data = create_res.json()\nmedia_id = create_data[\"id\"]\nprint(f\"Created media: {media_id}\")\n\n# 2) Poll until processing completes (GET media returns the full media object)\nfor attempt in range(120):\n    detail_res = requests.get(f\"{BASE_URL}/v2/media/{media_id}\", headers=HEADERS, timeout=30)\n    detail_res.raise_for_status()\n    status_data = detail_res.json()\n    status = status_data.get(\"processing_status\", \"\")\n    print(f\"Attempt {attempt + 1}: status={status}\")\n\n    if status == \"success\":\n        break\n    if status == \"failed\":\n        raise RuntimeError(f\"Media generation ended with status: {status}\")\n    time.sleep(10)\nelse:\n    raise TimeoutError(\"Media generation is taking longer than expected.\")\n\n# 3) Use download URL(s) from the response (result can contain several files)\ndetail_data = status_data\nvideo_urls = detail_data.get(\"result\", [])\nfor url in video_urls:\n    print(f\"Video URL: {url}\")\n# Use these URLs to download or display the generated file(s).\n```\n\n## media_items\n\n\nHow to pass images or videos. `media_items` is a **JSON array of objects**, not a string and not a file upload.\n\nEach object has three fields:\n\n| Field | Values | Meaning |\n|-------|--------|---------|\n| `type` | `\"image\"` or `\"video\"` | `\"image\"` is a still (png, jpg, webp). `\"video\"` is an mp4; a frame is taken from it. |\n| `url` | public https URL | The server downloads this URL with no cookies and no Authorization header. |\n| `position` | `\"First\"` or `\"Last\"` | `\"First\"` is the start frame. `\"Last\"` is the end frame. |\n\nOne picture (image-to-video):\n\n```json\n\"media_items\": [\n  {\"type\": \"image\", \"url\": \"https://example.com/start.png\", \"position\": \"First\"}\n]\n```\n\nStart frame and end frame:\n\n```json\n\"media_items\": [\n  {\"type\": \"image\", \"url\": \"https://example.com/start.png\", \"position\": \"First\"},\n  {\"type\": \"image\", \"url\": \"https://example.com/end.png\", \"position\": \"Last\"}\n]\n```\n\nDo not put audio in `media_items`. Audio items are ignored. Use `audio_option` for speech and music.\n\n\n## audio_option\n\n\nOptional audio configuration object (JSON). This is a JSON object, not a string. Pass speech and music here. Do not put audio files in `media_items`.\n\n## Audio parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `narrator` | string | AutoV | Voice for text-to-speech. **Available voices**: AutoV, Rachel, Aria, Roger, Sarah, Laura, Charlie, George, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill |\n| `narration` | string | null | Text to convert to speech with the chosen narrator |\n| `narration_url` | string | null | URL to pre-recorded narration (MP3/WAV). If set, `narrator` and `narration` are ignored |\n| `bg_music_prompt` | string | null | Description for AI-generated background music |\n| `bg_music_url` | string | null | URL to an external background music track |\n| `native_audio` | boolean | true | Enable native audio (e.g. sound effects, lip sync) for compatible tools |\n\n## Examples (application/json)\n**Native audio enabled (with lip sync and sound effects):**\n```json\n{\n  \"native_audio\": true\n}\n```\n\n**Narration + background music:**\n```json\n{\n  \"narrator\": \"AutoV\",\n  \"narration\": \"Introducing the next generation of smart performance.\",\n  \"bg_music_prompt\": \"Modern, cinematic background with subtle electronic elements\"\n}\n```\n\n**Pre-recorded narration only:**\n```json\n{\n  \"narration_url\": \"https://example.com/voiceover.mp3\"\n}\n```\n\n**Background music only:**\n```json\n{\n  \"bg_music_url\": \"https://example.com/background.mp3\"\n}\n```\n\n## Notes\n\n- Audio URLs must be publicly accessible (no auth). Supported formats: MP3, WAV.\n- When both `narration_url` and `narration` are provided, `narration_url` wins.\n- Audio inside `media_items` is ignored. `audio_option` is the only audio input.",
        "operationId": "create_media_api_v2_media_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_2d7154ea3285d66f_ref0",
                "type": "object",
                "properties": {
                  "loop": {
                    "type": "integer"
                  },
                  "title": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "duration": {
                    "type": "integer"
                  },
                  "quantity": {
                    "type": "integer"
                  },
                  "video_tool": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "media_items": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "aspect_ratio": {
                    "type": "string"
                  },
                  "audio_option": {
                    "type": "object"
                  },
                  "pipeline_mode": {
                    "type": "string"
                  }
                },
                "description": "Create media request (application/json)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OGLP3Ro7VLDKbpBOuGdpe",
            "authority": "supplemental",
            "conflicts": [
              "/description"
            ],
            "revisionId": "sdrn_RC3iA_V0xoN0N7q3yE5CC"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "media"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service media)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "media",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/media/estimate-credits": {
      "post": {
        "summary": "Estimate Credits",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0999832a1a0f836a_ref2"
                }
              }
            },
            "description": "Credit estimate and breakdown"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0999832a1a0f836a_ref3"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "description": "Returns how many credits a **POST /v2/media** request would charge for the given `video_tool`, `duration`, `quantity`, and optional `audio_option`, without creating a job. No authentication required; response is pricing-only (no per-user balance). Uses the same billing rules as create/update regeneration. Prompt text, `pipeline_mode`, `aspect_ratio`, and `loop` do **not** change credits today (duration is the requested clip length in seconds, not derived from prompt).",
        "operationId": "estimate_media_credits_api_v2_media_estimate_credits_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0999832a1a0f836a_ref0",
                "type": "object",
                "properties": {
                  "duration": {
                    "type": "integer"
                  },
                  "quantity": {
                    "type": "integer"
                  },
                  "video_tool": {
                    "type": "string"
                  },
                  "audio_option": {
                    "type": "object"
                  }
                },
                "description": "Parameters to price (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OGLP3Ro7VLDKbpBOuGdpe",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_RC3iA_V0xoN0N7q3yE5CC"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "media"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/media/{media_id}": {
      "get": {
        "summary": "Get Media",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "abc123-def456-ghi789",
                  "title": "Example Media",
                  "result": [],
                  "version": "3",
                  "created_at": "2025-04-01T18:57:37.355064+00:00",
                  "updated_at": "2025-04-01T18:57:55.502020+00:00",
                  "customer_id": "customer123",
                  "description": "Media description",
                  "pose_preset": {
                    "loop": 1,
                    "prompt": "A cinematic shot over mountains at sunrise",
                    "quantity": 1,
                    "motion_type": "Auto",
                    "motion_length": 5
                  },
                  "webhook_url": "",
                  "duration_time": "5",
                  "submit_params": {
                    "file_size": "",
                    "native_audio": true,
                    "scale_factor": "1"
                  },
                  "primary_user_id": "user-abc-123",
                  "processing_status": "new"
                }
              }
            },
            "description": "Media Object (CustomerMediaResponse or ProductMediaResponse by customer_id)"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "404": {
            "content": {
              "application/json": {
                "example": {
                  "code": "MEDIA_NOT_FOUND",
                  "message": "The requested media was not found or you do not have access."
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0369c9c797669d0e_ref0"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "media_id",
            "schema": {
              "type": "string",
              "title": "Media ID",
              "examples": [
                "abc123-def456-ghi789"
              ],
              "description": "Unique identifier of the media"
            },
            "example": "abc123-def456-ghi789",
            "required": true,
            "description": "Unique identifier of the media"
          },
          {
            "in": "query",
            "name": "fields",
            "schema": {
              "type": "string",
              "title": "Field Selection",
              "default": "",
              "description": "Comma-separated list of specific fields to retrieve from the media object. Example: 'title,description,processing_status,progress_percentage'. If not provided, all fields are returned. Useful for reducing response size when only specific information is needed."
            },
            "required": false,
            "description": "Comma-separated list of specific fields to retrieve from the media object. Example: 'title,description,processing_status,progress_percentage'. If not provided, all fields are returned. Useful for reducing response size when only specific information is needed."
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          }
        ],
        "description": "Retrieves a single media object by ID. Response is **application/json** with the same fields shown in the example above.\n\nUse the optional `fields` query parameter to request only specific keys (allowed keys are those in the media response body). When omitted, the full media object is returned.",
        "operationId": "get_media_v2_media__media_id__get",
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OGLP3Ro7VLDKbpBOuGdpe",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description"
            ],
            "revisionId": "sdrn_RC3iA_V0xoN0N7q3yE5CC"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "media"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/story/estimate-credits": {
      "post": {
        "summary": "Estimate Credits",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_72779ca50ac9fc4b_ref2"
                }
              }
            },
            "description": "Credit estimate and breakdown"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_72779ca50ac9fc4b_ref3"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "description": "Returns how many credits a story request would charge without creating a batch. No authentication required.\n\n**`flow` values:**\n- **`auto`** — Same pricing as **POST /v2/story/idea-2-video** (and url/images-2-video): `video_tool`, `scene_count`, `scene_duration`, and optional `audio_option.native_audio`.\n- **`manual`** — Step-by-step story workflow (storyboard → elements → scenes → videos). Credits are **dynamic** based on storyboard content and `scene_count`; this endpoint does not return a fixed total for manual flows.",
        "operationId": "estimate_story_credits_api_v2_story_estimate_credits_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_72779ca50ac9fc4b_ref0",
                "type": "object",
                "properties": {
                  "flow": {
                    "enum": [
                      "auto",
                      "manual"
                    ],
                    "type": "string",
                    "default": "auto"
                  },
                  "loop": {
                    "type": "integer",
                    "default": 1,
                    "maximum": 6,
                    "minimum": 1
                  },
                  "duration": {
                    "type": "integer",
                    "default": 5,
                    "maximum": 30,
                    "minimum": 1
                  },
                  "video_tool": {
                    "enum": [
                      "Auto",
                      "KlingAI",
                      "Seedance",
                      "Pixverse",
                      "VeoFast",
                      "Vidu",
                      "AutoT1",
                      "VeoLite",
                      "PVideo"
                    ],
                    "type": "string",
                    "default": "Auto"
                  },
                  "scene_count": {
                    "type": "integer",
                    "default": 3,
                    "minimum": 1
                  },
                  "audio_option": {
                    "type": "object"
                  },
                  "scene_duration": {
                    "type": "integer",
                    "default": 5,
                    "maximum": 30,
                    "minimum": 1
                  }
                },
                "description": "Parameters to price (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing request body schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/summary",
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          },
          {
            "gaps": [
              "Missing detailed schema for audio_option object properties in requestBody"
            ],
            "pages": [
              2
            ],
            "sourceId": "sds_vhmZ4kF0R3dUoHTKHfrP9",
            "authority": "supplemental",
            "conflicts": [
              "/description"
            ],
            "revisionId": "sdrn_d2ksQkyyxaPY1aKfTGMbZ"
          }
        ],
        "x-zeroclick-services": [
          "story"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/story/idea-2-video": {
      "post": {
        "summary": "[AUTO] Idea-to-Video",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref4"
                },
                "example": {
                  "id": "abc123-def456-ghi789",
                  "idea": "Create a realistic winter commercial for SkinRevive Moisturiser set in snowy mountains",
                  "title": "Winter Commercial Story",
                  "status": "new",
                  "all_medias": [],
                  "created_at": "2026-02-06T02:05:40.985431+00:00",
                  "updated_at": "2026-02-06T02:05:40.985431+00:00",
                  "aspect_ratio": "16:9",
                  "used_credits": 300,
                  "is_transition": false,
                  "progress_percentage": 0
                }
              }
            },
            "description": "Story Object"
          },
          "400": {
            "content": {
              "application/json": {
                "example": {
                  "message": "BAD_REQUEST"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref10"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Creates a complete video from a text idea in one call. Send **Content-Type: application/json**.\n\nThe pipeline runs automatically: storyboard → elements → scenes → narrations/music → video animation → composition. Poll **GET /v2/story/{story_id}** until `status` is `success`, then use `video_url`.\n\n### Example: Idea-to-Video (Python)\n\n```python\nimport requests\n\nBASE_URL = \"https://api.vimmerse.net\"\nAPI_KEY = \"YOUR_API_KEY\"\n\nurl = f\"{BASE_URL}/v2/story/idea-2-video\"\nheaders = {\"X-Api-Key\": API_KEY, \"Content-Type\": \"application/json\"}\n\npayload = {\n    \"idea\": \"Create a promotional video where cute animals play musical instruments in a sunny meadow\",\n    \"title\": \"Musical Animals Story\",\n    \"aspect_ratio\": \"9:16\",\n    \"scene_count\": 4,\n    \"image_tool\": \"Seedream\",\n    \"video_tool\": \"Auto\",\n    \"scene_duration\": 5,\n    \"audio_option\": {\n        \"has_bg_music\": True,\n        \"has_narration\": True,\n        \"native_audio\": False,\n        \"narrator\": \"AutoV\",\n    },\n    \"language\": \"English\",\n    \"webhook_url\": \"https://your-domain.com/webhook/callback\",\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=60)\nresponse.raise_for_status()\nresult = response.json()\nstory_id = result[\"id\"]\nprint(f\"Story ID: {story_id}, Status: {result['status']}\")\n```\n\n## elements\n\nOptional JSON object of **pre-defined story elements** you already have in mind for this automatic flow. The API uses these to guide the internal storyboard generation (e.g. character names, environments, and props). Only **characters**, **environments**, and **objects** are accepted; **scenes** must not be included (scenes are generated from the idea and timing).\n\n`elements` is a **JSON object**, not a string and not a list of `{type, url, position}` (that shape is `media_items` on the media API).\n\nEach key is a list of objects. To pass an existing picture, set `image_url` to a public https URL. Leave `image_url` as `\"\"` when the picture should be generated later.\n\n| Key | Type | Description |\n|-----|------|-------------|\n| `characters` | array of objects | Optional. Each item has `name`, `description`, and `image_url`. |\n| `environments` | array of objects | Optional. Each item has `name`, `description`, and `image_url`. |\n| `objects` | array of objects | Optional. Each item has `name`, `description`, and `image_url`. |\n\n**Example (partial):**\n\n```json\n{\n  \"idea\": \"Create a promotional video where cute animals play musical instruments in a sunny meadow\",\n  \"scene_count\": 4,\n  \"elements\": {\n    \"characters\": [\n      {\n        \"name\": \"Whiskers the Squirrel\",\n        \"description\": \"Style:Pixar-style 3D, a small, nimble squirrel with rusty-red fur and a bushy tail.\",\n        \"image_url\": \"https://example.com/whiskers.png\"\n      },\n      {\n        \"name\": \"Pip the Rabbit\",\n        \"description\": \"Style:Pixar-style 3D, a plump, creamy white rabbit with long floppy ears.\",\n        \"image_url\": \"\"\n      }\n    ],\n    \"environments\": [\n      {\n        \"name\": \"Sunny Meadow\",\n        \"description\": \"Style:Pixar-style 3D, a vibrant meadow in golden afternoon light with wildflowers.\",\n        \"image_url\": \"\"\n      }\n    ],\n    \"objects\": [\n      {\n        \"name\": \"Acorn Flute\",\n        \"description\": \"Style:Pixar-style 3D, a small polished acorn hollowed as a flute with three finger holes.\",\n        \"image_url\": \"\"\n      },\n      {\n        \"name\": \"Carrot Drum\",\n        \"description\": \"Style:Pixar-style 3D, a miniature hollow carrot with a leaf membrane as drumhead.\",\n        \"image_url\": \"\"\n      }\n    ]\n  }\n}\n```\n\n## audio_option\n\n\nAudio configuration for story generation (JSON object). Used in idea-2-video, url-2-video, images-2-video, and advanced Step 1 (Create Storyboard).\n\n## Audio parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `narrator` | string | AutoV | Voice for narration. **Available voices**: AutoV, Rachel, Aria, Roger, Sarah, Laura, Charlie, George, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill |\n| `has_narration` | boolean | true | Include narration. Ignored when `native_audio` is true |\n| `has_bg_music` | boolean | true | Include background music |\n| `native_audio` | boolean | false | Include native sound effects and lip sync. When true, narration is disabled |\n\n## Usage examples (application/json)\n\n**Background music only:**\n```json\n{\n  \"has_bg_music\": true,\n  \"has_narration\": false,\n  \"native_audio\": false\n}\n```\n\n**Narration with background music:**\n```json\n{\n  \"has_bg_music\": true,\n  \"has_narration\": true,\n  \"native_audio\": false,\n  \"narrator\": \"Rachel\"\n}\n```\n\n**Native audio (sound effects + lip sync):**\n```json\n{\n  \"has_bg_music\": true,\n  \"has_narration\": false,\n  \"native_audio\": true\n}\n```\n\n**No audio:**\n```json\n{\n  \"has_bg_music\": false,\n  \"has_narration\": false,\n  \"native_audio\": false\n}\n```\n\n## Notes\n\n- When `native_audio` is true, `has_narration` is ignored (effectively false).\n- `narrator` is only used when `has_narration` is true and `native_audio` is false.\n- Send `audio_option` as a JSON object in the request body (Content-Type: application/json).",
        "operationId": "create_idea_2_video_api_v2_story_idea_2_video_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_49a4204f338496ac_ref0",
                "type": "object",
                "title": "Idea to Video Request",
                "properties": {
                  "idea": {
                    "type": "string"
                  },
                  "style": {
                    "enum": [
                      "AutoS",
                      "Cinematic Narrative",
                      "Neo-Nostalgia / Film Grain",
                      "Photorealistic",
                      "Authentic Minimal",
                      "Claymation",
                      "3D Pixar",
                      "Cartoon Comic",
                      "2D Anime",
                      "Oil Painting",
                      "Cyberpunk Futueristic Aesthetic"
                    ],
                    "type": "string",
                    "default": "AutoS"
                  },
                  "title": {
                    "type": "string",
                    "default": ""
                  },
                  "elements": {
                    "type": "object"
                  },
                  "language": {
                    "enum": [
                      "Arabic",
                      "Chinese",
                      "English",
                      "French",
                      "German",
                      "Hindi",
                      "Japanese",
                      "Korean",
                      "Spanish",
                      "Turkish"
                    ],
                    "type": "string",
                    "default": "English"
                  },
                  "image_tool": {
                    "enum": [
                      "AutoI",
                      "Seedream",
                      "FluxTurbo",
                      "NanoBanana",
                      "QwenImage"
                    ],
                    "type": "string",
                    "default": "AutoI"
                  },
                  "video_tool": {
                    "enum": [
                      "Auto",
                      "KlingAI",
                      "Seedance",
                      "Pixverse",
                      "VeoFast",
                      "Vidu",
                      "AutoT1",
                      "VeoLite",
                      "PVideo"
                    ],
                    "type": "string",
                    "default": "Auto"
                  },
                  "scene_count": {
                    "type": "integer",
                    "default": 3,
                    "minimum": 1
                  },
                  "webhook_url": {
                    "type": "string",
                    "default": ""
                  },
                  "aspect_ratio": {
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "default": "16:9"
                  },
                  "audio_option": {
                    "type": "object"
                  },
                  "is_transition": {
                    "type": "boolean",
                    "default": false
                  },
                  "scene_duration": {
                    "type": "integer",
                    "default": 5,
                    "maximum": 30,
                    "minimum": 1
                  }
                },
                "description": "JSON body. Send with Content-Type: application/json."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing request body schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          },
          {
            "gaps": [],
            "pages": [
              3
            ],
            "sourceId": "sds_vhmZ4kF0R3dUoHTKHfrP9",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_d2ksQkyyxaPY1aKfTGMbZ"
          }
        ],
        "x-zeroclick-services": [
          "story"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service story)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "story",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/story/images-2-video": {
      "post": {
        "summary": "[AUTO] Images-to-Video",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref2"
                },
                "example": {
                  "id": "img123-vid456-story789",
                  "idea": "Cinematic product-only smoothie promo showcasing fresh ingredients",
                  "title": "Product Showcase",
                  "status": "new",
                  "all_medias": [],
                  "created_at": "2026-02-06T02:05:40.985431+00:00",
                  "updated_at": "2026-02-06T02:05:40.985431+00:00",
                  "aspect_ratio": "16:9",
                  "used_credits": 700,
                  "is_transition": false,
                  "progress_percentage": 0
                }
              }
            },
            "description": "Story Object"
          },
          "400": {
            "content": {
              "application/json": {
                "example": {
                  "message": "BAD_REQUEST"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref8"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Generates a story video from an **idea** and a list of **image URLs**. Send **Content-Type: application/json**.\n\nPipeline: narrations/music → animate each image → compose final video. Poll **GET /v2/story/{story_id}** until `status` is `success`.\n\n### Example: Images-to-Video (Python)\n\n```python\nimport requests\n\nBASE_URL = \"https://api.vimmerse.net\"\nAPI_KEY = \"YOUR_API_KEY\"\n\nurl = f\"{BASE_URL}/v2/story/images-2-video\"\nheaders = {\"X-Api-Key\": API_KEY, \"Content-Type\": \"application/json\"}\n\npayload = {\n    \"idea\": \"Cinematic product-only smoothie promo: fresh berries, bananas, oranges on a wooden table, blender mixing, smoothie pouring into glass, 16:9, photorealistic.\",\n    \"image_urls\": [\n        \"https://example.com/image1.jpg\",\n        \"https://example.com/image2.jpg\",\n        \"https://example.com/image3.jpg\",\n    ],\n    \"title\": \"Smoothie Promo\",\n    \"aspect_ratio\": \"16:9\",\n    \"video_tool\": \"Auto\",\n    \"is_transition\": True,\n    \"scene_duration\": 5,\n    \"audio_option\": {\"has_bg_music\": True, \"has_narration\": True, \"native_audio\": False},\n    \"language\": \"English\",\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=60)\nresponse.raise_for_status()\nresult = response.json()\nprint(f\"Story ID: {result['id']}, Scenes: {len(payload['image_urls'])}\")\n```\n\n## audio_option\n\n\nAudio configuration for story generation (JSON object). Used in idea-2-video, url-2-video, images-2-video, and advanced Step 1 (Create Storyboard).\n\n## Audio parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `narrator` | string | AutoV | Voice for narration. **Available voices**: AutoV, Rachel, Aria, Roger, Sarah, Laura, Charlie, George, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill |\n| `has_narration` | boolean | true | Include narration. Ignored when `native_audio` is true |\n| `has_bg_music` | boolean | true | Include background music |\n| `native_audio` | boolean | false | Include native sound effects and lip sync. When true, narration is disabled |\n\n## Usage examples (application/json)\n\n**Background music only:**\n```json\n{\n  \"has_bg_music\": true,\n  \"has_narration\": false,\n  \"native_audio\": false\n}\n```\n\n**Narration with background music:**\n```json\n{\n  \"has_bg_music\": true,\n  \"has_narration\": true,\n  \"native_audio\": false,\n  \"narrator\": \"Rachel\"\n}\n```\n\n**Native audio (sound effects + lip sync):**\n```json\n{\n  \"has_bg_music\": true,\n  \"has_narration\": false,\n  \"native_audio\": true\n}\n```\n\n**No audio:**\n```json\n{\n  \"has_bg_music\": false,\n  \"has_narration\": false,\n  \"native_audio\": false\n}\n```\n\n## Notes\n\n- When `native_audio` is true, `has_narration` is ignored (effectively false).\n- `narrator` is only used when `has_narration` is true and `native_audio` is false.\n- Send `audio_option` as a JSON object in the request body (Content-Type: application/json).",
        "operationId": "create_images_2_video_api_v2_story_images_2_video_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e77a29b055ded5cd_ref0",
                "type": "object",
                "title": "Images to Video Request",
                "properties": {
                  "idea": {
                    "type": "string",
                    "default": "Create a stunning video showcasing these images with a compelling narrative"
                  },
                  "title": {
                    "type": "string",
                    "default": ""
                  },
                  "language": {
                    "enum": [
                      "Arabic",
                      "Chinese",
                      "English",
                      "French",
                      "German",
                      "Hindi",
                      "Japanese",
                      "Korean",
                      "Spanish",
                      "Turkish"
                    ],
                    "type": "string",
                    "default": "English"
                  },
                  "image_urls": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "video_tool": {
                    "enum": [
                      "Auto",
                      "KlingAI",
                      "Seedance",
                      "Pixverse",
                      "VeoFast",
                      "Vidu",
                      "AutoT1",
                      "VeoLite",
                      "PVideo"
                    ],
                    "type": "string",
                    "default": "Auto"
                  },
                  "webhook_url": {
                    "type": "string",
                    "default": ""
                  },
                  "aspect_ratio": {
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "default": "16:9"
                  },
                  "audio_option": {
                    "type": "object"
                  },
                  "is_transition": {
                    "type": "boolean",
                    "default": false
                  },
                  "scene_duration": {
                    "type": "integer",
                    "default": 5,
                    "maximum": 30,
                    "minimum": 1
                  }
                },
                "description": "JSON body. Send with Content-Type: application/json for the easiest client experience."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing request body schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          },
          {
            "gaps": [],
            "pages": [
              5
            ],
            "sourceId": "sds_vhmZ4kF0R3dUoHTKHfrP9",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_d2ksQkyyxaPY1aKfTGMbZ"
          }
        ],
        "x-zeroclick-services": [
          "story"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service story)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "story",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/story/{story_id}": {
      "get": {
        "summary": "Get Story Detail",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref0"
                },
                "example": {
                  "id": "abc123-def456-ghi789",
                  "idea": "Create a realistic winter commercial for SkinRevive Moisturiser set in snowy mountains",
                  "title": "Winter Commercial Story",
                  "status": "success",
                  "video_url": "https://media.example.com/story/abc123-def456-ghi789.mp4",
                  "all_medias": [
                    {
                      "id": "media-uuid-1",
                      "title": "",
                      "result": [
                        {
                          "url": "https://media.example.com/clip1.mp4",
                          "thumbnail_url": "https://media.example.com/thumb1.jpg"
                        }
                      ],
                      "version": "3",
                      "created_at": "2026-02-06T02:05:40.985431+00:00",
                      "updated_at": "2026-02-06T02:10:00.000000+00:00",
                      "customer_id": "customer456",
                      "description": "",
                      "media_items": [
                        {
                          "url": "https://media.example.com/scene1.png",
                          "type": "image",
                          "position": "First"
                        }
                      ],
                      "webhook_url": "",
                      "duration_time": "0",
                      "primary_user_id": "user123",
                      "processing_status": "success"
                    }
                  ],
                  "created_at": "2026-02-06T02:05:40.985431+00:00",
                  "storyboard": {
                    "music": {
                      "lyrics": "",
                      "music_url": "https://media.example.com/music.wav",
                      "description": "Uplifting orchestral piece"
                    },
                    "scenes": [
                      {
                        "name": "Opening",
                        "narrator": "Warm, inviting tone.",
                        "image_url": "https://media.example.com/scene1.png",
                        "narration_url": "https://media.example.com/narration1.mp3",
                        "image_description": "Snowy mountain landscape",
                        "video_description": "Camera pans across snowy peaks."
                      }
                    ],
                    "objects": [],
                    "characters": [],
                    "environments": []
                  },
                  "updated_at": "2026-02-06T02:10:00.000000+00:00",
                  "aspect_ratio": "16:9",
                  "used_credits": 300,
                  "is_transition": false,
                  "progress_percentage": 100
                }
              }
            },
            "description": "Story Object (CustomerStoryResponse format)"
          },
          "400": {
            "content": {
              "application/json": {
                "example": {
                  "message": "BAD_REQUEST"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "404": {
            "content": {
              "application/json": {
                "example": {
                  "message": "NOT_FOUND"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e7ddb935ea291bbf_ref6"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "story_id",
            "schema": {
              "type": "string",
              "title": "Story ID",
              "examples": [
                "abc123-def456-ghi789"
              ],
              "description": "Unique identifier of the story to retrieve"
            },
            "example": "abc123-def456-ghi789",
            "required": true,
            "description": "Unique identifier of the story to retrieve"
          },
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Retrieves a story by ID. Use this to poll until `status` is `success` and then read `video_url`.\n\n### Example: Get Story (Python)\n\n```python\nimport requests\n\nBASE_URL = \"https://api.vimmerse.net\"\nAPI_KEY = \"YOUR_API_KEY\"\nSTORY_ID = \"your-story-id-here\"\n\nurl = f\"{BASE_URL}/v2/story/{STORY_ID}\"\nheaders = {\"X-Api-Key\": API_KEY}\n\nresponse = requests.get(url, headers=headers, timeout=30)\nresponse.raise_for_status()\nresult = response.json()\nprint(f\"Story ID: {result['id']}, Status: {result['status']}, Progress: {result.get('progress_percentage', 0)}%\")\nif result.get(\"status\") == \"success\" and result.get(\"video_url\"):\n    print(f\"Video URL: {result['video_url']}\")\n```",
        "operationId": "get_story_v2_story__story_id__get",
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_vhmZ4kF0R3dUoHTKHfrP9",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description"
            ],
            "revisionId": "sdrn_d2ksQkyyxaPY1aKfTGMbZ"
          }
        ],
        "x-zeroclick-services": [
          "story"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/story/url-2-video": {
      "post": {
        "summary": "[AUTO] URL-to-Video",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref4"
                },
                "example": {
                  "id": "xyz789-abc123-def456",
                  "idea": "Create a cool, modern commercial-style video for https://www.example.com/",
                  "title": "Website Commercial",
                  "status": "new",
                  "all_medias": [],
                  "created_at": "2026-02-06T02:05:40.985431+00:00",
                  "updated_at": "2026-02-06T02:05:40.985431+00:00",
                  "aspect_ratio": "16:9",
                  "used_credits": 0,
                  "is_transition": false,
                  "progress_percentage": 0
                }
              }
            },
            "description": "Story Object"
          },
          "400": {
            "content": {
              "application/json": {
                "example": {
                  "message": "BAD_REQUEST"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref10"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Creates a complete video from a website URL and idea. Send **Content-Type: application/json**.\n\nThe API uses the URL content plus your idea to generate a story and then runs the full pipeline. Poll **GET /v2/story/{story_id}** until `status` is `success`.\n\n### Example: URL-to-Video (Python)\n\n```python\nimport requests\n\nBASE_URL = \"https://api.vimmerse.net\"\nAPI_KEY = \"YOUR_API_KEY\"\n\nurl = f\"{BASE_URL}/v2/story/url-2-video\"\nheaders = {\"X-Api-Key\": API_KEY, \"Content-Type\": \"application/json\"}\n\npayload = {\n    \"idea\": \"Create a cool, modern commercial-style video for this brand https://www.example.com/\",\n    \"title\": \"Brand Commercial\",\n    \"aspect_ratio\": \"16:9\",\n    \"scene_count\": 3,\n    \"image_tool\": \"AutoI\",\n    \"video_tool\": \"Auto\",\n    \"scene_duration\": 5,\n    \"audio_option\": {\"has_bg_music\": True, \"has_narration\": False, \"native_audio\": False},\n    \"language\": \"English\",\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=60)\nresponse.raise_for_status()\nresult = response.json()\nprint(f\"Story ID: {result['id']}\")\n```\n\n## audio_option\n\n\nAudio configuration for story generation (JSON object). Used in idea-2-video, url-2-video, images-2-video, and advanced Step 1 (Create Storyboard).\n\n## Audio parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `narrator` | string | AutoV | Voice for narration. **Available voices**: AutoV, Rachel, Aria, Roger, Sarah, Laura, Charlie, George, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill |\n| `has_narration` | boolean | true | Include narration. Ignored when `native_audio` is true |\n| `has_bg_music` | boolean | true | Include background music |\n| `native_audio` | boolean | false | Include native sound effects and lip sync. When true, narration is disabled |\n\n## Usage examples (application/json)\n\n**Background music only:**\n```json\n{\n  \"has_bg_music\": true,\n  \"has_narration\": false,\n  \"native_audio\": false\n}\n```\n\n**Narration with background music:**\n```json\n{\n  \"has_bg_music\": true,\n  \"has_narration\": true,\n  \"native_audio\": false,\n  \"narrator\": \"Rachel\"\n}\n```\n\n**Native audio (sound effects + lip sync):**\n```json\n{\n  \"has_bg_music\": true,\n  \"has_narration\": false,\n  \"native_audio\": true\n}\n```\n\n**No audio:**\n```json\n{\n  \"has_bg_music\": false,\n  \"has_narration\": false,\n  \"native_audio\": false\n}\n```\n\n## Notes\n\n- When `native_audio` is true, `has_narration` is ignored (effectively false).\n- `narrator` is only used when `has_narration` is true and `native_audio` is false.\n- Send `audio_option` as a JSON object in the request body (Content-Type: application/json).",
        "operationId": "create_url_2_video_api_v2_story_url_2_video_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_e11e36b2d2bef83b_ref0",
                "type": "object",
                "title": "URL to Video Request",
                "properties": {
                  "idea": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string",
                    "default": ""
                  },
                  "elements": {
                    "type": "object"
                  },
                  "language": {
                    "enum": [
                      "Arabic",
                      "Chinese",
                      "English",
                      "French",
                      "German",
                      "Hindi",
                      "Japanese",
                      "Korean",
                      "Spanish",
                      "Turkish"
                    ],
                    "type": "string",
                    "default": "English"
                  },
                  "image_tool": {
                    "enum": [
                      "AutoI",
                      "Seedream",
                      "FluxTurbo",
                      "NanoBanana",
                      "QwenImage"
                    ],
                    "type": "string",
                    "default": "AutoI"
                  },
                  "video_tool": {
                    "enum": [
                      "Auto",
                      "KlingAI",
                      "Seedance",
                      "Pixverse",
                      "VeoFast",
                      "Vidu",
                      "AutoT1",
                      "VeoLite",
                      "PVideo"
                    ],
                    "type": "string",
                    "default": "Auto"
                  },
                  "scene_count": {
                    "type": "integer",
                    "default": 3,
                    "minimum": 1
                  },
                  "webhook_url": {
                    "type": "string",
                    "default": ""
                  },
                  "aspect_ratio": {
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "default": "16:9"
                  },
                  "audio_option": {
                    "type": "object"
                  },
                  "is_transition": {
                    "type": "boolean",
                    "default": false
                  },
                  "scene_duration": {
                    "type": "integer",
                    "default": 5,
                    "maximum": 30,
                    "minimum": 1
                  }
                },
                "description": "JSON body. Send with Content-Type: application/json."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing request body schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          },
          {
            "gaps": [],
            "pages": [
              4
            ],
            "sourceId": "sds_vhmZ4kF0R3dUoHTKHfrP9",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_d2ksQkyyxaPY1aKfTGMbZ"
          }
        ],
        "x-zeroclick-services": [
          "story"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service story)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "story",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/text/image-2-prompt": {
      "post": {
        "summary": "Image to Prompt",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "title": "Response Generate Prompt From Image V2 Text Image 2 Prompt Post"
                },
                "example": "A cinematic wide shot of a futuristic city at dusk, neon reflections on wet streets, soft volumetric light, ultra-detailed, 8K."
              }
            },
            "description": "Generated prompt (JSON string)"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_7fb97508fa30e197_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_7fb97508fa30e197_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Describes **`image_url`** in one prompt (same as **POST /v2/text/prompt** with `\"option\": \"Image2Prompt\"`).\n\n```python\nimport requests\n\nr = requests.post(\n    \"https://api.vimmerse.net/v2/text/image-2-prompt\",\n    headers={\"X-Api-Key\": \"YOUR_API_KEY\", \"Content-Type\": \"application/json\"},\n    json={\"image_url\": \"https://media.vimmerse.net/example/photo.jpg\"},\n    timeout=120,\n)\nprint(r.json())\n```",
        "operationId": "generate_prompt_from_image_v2_text_image_2_prompt_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_7fb97508fa30e197_ref0",
                "type": "object",
                "properties": {
                  "image_url": {
                    "type": "string",
                    "description": "Image URL"
                  }
                },
                "description": "Image URL (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing request body schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_YxX2o0RHfVUZEbfzvptVv",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_tQm3LLv-vvUuYWCesJwVS"
          }
        ],
        "x-zeroclick-services": [
          "text"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/text/prompt": {
      "post": {
        "summary": "Generate Text Prompt",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "title": "Response Get Prompt V2 Text Prompt Post"
                },
                "example": "A cinematic wide shot of a futuristic city at dusk, neon reflections on wet streets, soft volumetric light, ultra-detailed, 8K."
              }
            },
            "description": "Generated prompt (JSON string)"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_03ac1ce730a897ba_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_03ac1ce730a897ba_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Generates or transforms prompt text.\n\n| Field | Notes |\n|-------|--------|\n| `option` | `InspireMe` (default), `Image2Prompt`, `SuggestPrompt`, `RefinePrompt` |\n| `image_url` | Primary image for vision options |\n| `image2_url` | Optional second image |\n| `video_url` | Uses middle frame when no `image_url` |\n| `prompt` | Seed text; required for `RefinePrompt` behavior via `option` |\n| `mode` | `scene`, `video`, `image`, or `audio` |\n\n```python\nimport requests\n\nr = requests.post(\n    \"https://api.vimmerse.net/v2/text/prompt\",\n    headers={\"X-Api-Key\": \"YOUR_API_KEY\", \"Content-Type\": \"application/json\"},\n    json={\n        \"image_url\": \"https://media.vimmerse.net/example/product.jpg\",\n        \"option\": \"Image2Prompt\",\n        \"mode\": \"image\",\n    },\n    timeout=120,\n)\nr.raise_for_status()\nprint(r.json())  # JSON string value\n```",
        "operationId": "get_prompt_v2_text_prompt_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_03ac1ce730a897ba_ref0",
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Refinement mode"
                  },
                  "option": {
                    "type": "string",
                    "description": "InspireMe, Image2Prompt, SuggestPrompt, RefinePrompt"
                  },
                  "prompt": {
                    "type": "string",
                    "description": "Seed or instruction text"
                  },
                  "image_url": {
                    "type": "string",
                    "description": "Base image URL"
                  },
                  "video_url": {
                    "type": "string",
                    "description": "Video URL"
                  },
                  "image2_url": {
                    "type": "string",
                    "description": "Second image URL (optional)"
                  }
                },
                "description": "Prompt generation parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing request body schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_YxX2o0RHfVUZEbfzvptVv",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/required"
            ],
            "revisionId": "sdrn_tQm3LLv-vvUuYWCesJwVS"
          }
        ],
        "x-zeroclick-services": [
          "text"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/text/refine-prompt": {
      "post": {
        "summary": "Refine Text Prompt",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "title": "Response Generate Refined Prompt V2 Text Refine Prompt Post"
                },
                "example": "A cinematic wide shot of a futuristic city at dusk, neon reflections on wet streets, soft volumetric light, ultra-detailed, 8K."
              }
            },
            "description": "Refined prompt (JSON string)"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_32c253e27f5309f3_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_32c253e27f5309f3_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Improves the supplied **`prompt`** for image/video generation.\n\n```python\nimport requests\n\nr = requests.post(\n    \"https://api.vimmerse.net/v2/text/refine-prompt\",\n    headers={\"X-Api-Key\": \"YOUR_API_KEY\", \"Content-Type\": \"application/json\"},\n    json={\"prompt\": \"Nike shoes on colorful background\"},\n    timeout=60,\n)\nprint(r.json())\n```",
        "operationId": "generate_refined_prompt_v2_text_refine_prompt_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_32c253e27f5309f3_ref0",
                "type": "object",
                "properties": {
                  "prompt": {
                    "type": "string",
                    "description": "Prompt to refine"
                  }
                },
                "description": "Refine prompt parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing request body schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_YxX2o0RHfVUZEbfzvptVv",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_tQm3LLv-vvUuYWCesJwVS"
          }
        ],
        "x-zeroclick-services": [
          "text"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/text/suggest-prompt": {
      "post": {
        "summary": "Suggest Text Prompt",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "title": "Response Generate Suggested Prompt V2 Text Suggest Prompt Post"
                },
                "example": "A cinematic wide shot of a futuristic city at dusk, neon reflections on wet streets, soft volumetric light, ultra-detailed, 8K."
              }
            },
            "description": "Suggested prompt (JSON string)"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_3240463ac7f202fb_ref0"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_3240463ac7f202fb_ref1"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Returns a creative prompt suggestion. No request body is required.\n\n```python\nimport requests\n\nr = requests.post(\n    \"https://api.vimmerse.net/v2/text/suggest-prompt\",\n    headers={\"X-Api-Key\": \"YOUR_API_KEY\", \"Content-Type\": \"application/json\"},\n    timeout=60,\n)\nprint(r.json())\n```",
        "operationId": "generate_suggested_prompt_v2_text_suggest_prompt_post",
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing request body schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_YxX2o0RHfVUZEbfzvptVv",
            "authority": "supplemental",
            "conflicts": [
              "/description"
            ],
            "revisionId": "sdrn_tQm3LLv-vvUuYWCesJwVS"
          }
        ],
        "x-zeroclick-services": [
          "text"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/video/audio": {
      "post": {
        "summary": "Attach Audio",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "video_url": "https://media.vimmerse.net/example/input.mp4",
                    "async_mode": false
                  },
                  "status": "success",
                  "credits": 24,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/output.mp4"
                  ],
                  "app_name": "edit-video",
                  "quantity": 1,
                  "mime_type": "video/mp4",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/thumb.png"
                  ],
                  "updated_at": "2025-05-06T16:36:45.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Video with audio"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_2c6f8589a9d1023f_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_2c6f8589a9d1023f_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Attaches **`audio_url`** to **`video_url`**.\n\n**`attach_mode`:** `MatchVideo`, `PadAudio`, `MatchAudio`, `SpeedAdjust`, `Strict`",
        "operationId": "attach_audio_api_v2_video_audio_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_2c6f8589a9d1023f_ref0",
                "type": "object",
                "properties": {
                  "audio_url": {
                    "type": "string"
                  },
                  "video_url": {
                    "type": "string"
                  }
                },
                "description": "Attach audio parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing request body schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OSjZ6CDT0ZMLQ-ZIsQjsd",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_SyVzy97Ls4--EO-Xa0R6j"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "video"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/video/avatars/lip-sync": {
      "post": {
        "summary": "Avatar Lip-Sync Video",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "video_url": "https://media.vimmerse.net/example/input.mp4",
                    "async_mode": false
                  },
                  "status": "success",
                  "credits": 24,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/output.mp4"
                  ],
                  "app_name": "edit-video",
                  "quantity": 1,
                  "mime_type": "video/mp4",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/thumb.png"
                  ],
                  "updated_at": "2025-05-06T16:36:45.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Lip sync video"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_89ef45ef62678038_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_89ef45ef62678038_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Creatify talking-avatar video. Provide **`avatar_id`**, **`voice_id`**, and **`prompt`**. Optional **`bg_image_url`**, **`audio_url`**, **`aspect_ratio`** (`1:1`, `16:9`, `9:16`), **`show_caption`** (`On`/`Off`).\n\nList avatars/voices via internal **GET** routes (not in public schema).",
        "operationId": "generate_avatar_lip_sync_video_v2_video_avatars_lip_sync_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_89ef45ef62678038_ref0",
                "type": "object",
                "properties": {
                  "prompt": {
                    "type": "string"
                  },
                  "voice_id": {
                    "type": "string"
                  },
                  "avatar_id": {
                    "type": "string"
                  }
                },
                "description": "Avatar lip-sync parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing request body schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OSjZ6CDT0ZMLQ-ZIsQjsd",
            "authority": "supplemental",
            "conflicts": [
              "/description"
            ],
            "revisionId": "sdrn_SyVzy97Ls4--EO-Xa0R6j"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "video"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/video/crop-to-aspect-ratio": {
      "post": {
        "summary": "Crop Video",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "video_url": "https://media.vimmerse.net/example/input.mp4",
                    "async_mode": false
                  },
                  "status": "success",
                  "credits": 24,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/output.mp4"
                  ],
                  "app_name": "edit-video",
                  "quantity": 1,
                  "mime_type": "video/mp4",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/thumb.png"
                  ],
                  "updated_at": "2025-05-06T16:36:45.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Cropped video"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_55254dc90ca4cf14_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_55254dc90ca4cf14_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Crops **`video_url`** to **`aspect_ratio`**. Optional **`offset_x`** / **`offset_y`** set the crop origin (default: center).\n\nMost clients should use **`async_mode`: true** (default).\n\n```python\nimport requests\n\nr = requests.post(\n    \"https://api.vimmerse.net/v2/video/crop-to-aspect-ratio\",\n    headers={\"X-Api-Key\": \"YOUR_API_KEY\", \"Content-Type\": \"application/json\"},\n    json={\"video_url\": \"https://…/input.mp4\", \"aspect_ratio\": \"9:16\", \"async_mode\": True},\n    timeout=60,\n)\nprint(r.json()[\"status\"], r.json().get(\"results\"))\n```",
        "operationId": "crop_to_aspect_ratio_api_v2_video_crop_to_aspect_ratio_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_55254dc90ca4cf14_ref0",
                "type": "object",
                "properties": {
                  "offset_x": {
                    "type": "integer"
                  },
                  "offset_y": {
                    "type": "integer"
                  },
                  "video_url": {
                    "type": "string"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "aspect_ratio": {
                    "type": "string",
                    "pattern": "^\\d+:\\d+$"
                  }
                },
                "description": "Crop parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody and response details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OSjZ6CDT0ZMLQ-ZIsQjsd",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_SyVzy97Ls4--EO-Xa0R6j"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schemas"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_rYToGvynzkqDB54duUO7X",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_4thaw0Ft9ZmMQ2QH2drjy"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "video"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service video)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "video",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/video/enhance": {
      "post": {
        "summary": "Enhance Video",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "video_url": "https://media.vimmerse.net/example/input.mp4",
                    "async_mode": false
                  },
                  "status": "success",
                  "credits": 24,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/output.mp4"
                  ],
                  "app_name": "edit-video",
                  "quantity": 1,
                  "mime_type": "video/mp4",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/thumb.png"
                  ],
                  "updated_at": "2025-05-06T16:36:45.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Enhanced video"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_4922a10cd3017a6b_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_4922a10cd3017a6b_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Enhances **`video_url`**. **`enhance_mode`**: `4X`, `2X`, `4X&DeepClean`, `2X&DeepClean`, or `DeepClean`. **`compression_scale`**: `0`–`1` (default `0.5`).",
        "operationId": "enhance_video_api_v2_video_enhance_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_4922a10cd3017a6b_ref0",
                "type": "object",
                "properties": {
                  "video_url": {
                    "type": "string"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "enhance_mode": {
                    "type": "string"
                  },
                  "compression_scale": {
                    "type": "string"
                  }
                },
                "description": "Enhance parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody and response details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OSjZ6CDT0ZMLQ-ZIsQjsd",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_SyVzy97Ls4--EO-Xa0R6j"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schemas"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_rYToGvynzkqDB54duUO7X",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_4thaw0Ft9ZmMQ2QH2drjy"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "video"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service video)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "video",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/video/estimate-credits": {
      "post": {
        "summary": "Estimate Credits",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_a3d38764044112c5_ref1"
                }
              }
            },
            "description": "Credit estimate and breakdown"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_a3d38764044112c5_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "description": "Estimates credits for a video route **without** creating an asset. Same pricing as the matching **POST /v2/video/** handler.\n\n**Content-Type:** `application/json`\n\n| Field | Required | Notes |\n|-------|----------|-------|\n| `app_name` | Yes | e.g. `reference-to-video`, `video-to-video`, `lip-sync`, `video-effects`, `edit-video`, `replace-background-video` |\n| `option` | Yes | Tool/model for that route: `CropToAspectRatio`, `LumaReframeVideo`, `EnhanceVideo`, `SoundEffect`, `WanEffects`, `KlingEffects`, `ViduEffects`, `PixverseEffects`, `HiggsfieldEffects`, `AutoLipSync`, `SyncLipSync`, `PixverseLipSync`, `HummingBird`, `NewportLipSync`, `Hedra`, `Heygen`, `OminHuman`, `KlingAvatarT2`, `KlingAvatar`, `NewportDreamAvatar`, `CreatifyAurora`, `ReplaceBackgroundVideo`, `Auto`, `KlingAI`, `Grok`, `VeoReference`, `GoogleOmni`, `HappyHorse`, `KlingT3`, `KlingPro`, `Seedance`, `SeedanceFast`, `SeedanceT6`, `Vidu`, `HeygenAgent`, `PikaScenes`, `MinimaxHailuo`, `MinimaxTurbo`, `PVideoAnimate`, `Wan`, `LumaModify`, `AttachAudio` |\n| `quantity` | No | Default `1` |\n| `duration` | No | Seconds (reference-to-video, etc.) |\n| `prompt` | No | Used when pricing depends on length |",
        "operationId": "estimate_video_credits_api_v2_video_estimate_credits_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_a3d38764044112c5_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "app_name": {
                    "type": "string"
                  },
                  "duration": {
                    "type": "integer"
                  },
                  "quantity": {
                    "type": "integer"
                  },
                  "video_duration": {
                    "type": "number"
                  }
                },
                "description": "Parameters to price (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody and response details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OSjZ6CDT0ZMLQ-ZIsQjsd",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_SyVzy97Ls4--EO-Xa0R6j"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schemas"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_rYToGvynzkqDB54duUO7X",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_4thaw0Ft9ZmMQ2QH2drjy"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "video"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/video/lip-sync": {
      "post": {
        "summary": "Lip-Sync Video",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "video_url": "https://media.vimmerse.net/example/input.mp4",
                    "async_mode": false
                  },
                  "status": "success",
                  "credits": 24,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/output.mp4"
                  ],
                  "app_name": "edit-video",
                  "quantity": 1,
                  "mime_type": "video/mp4",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/thumb.png"
                  ],
                  "updated_at": "2025-05-06T16:36:45.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Lip sync video"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_07eda36722311614_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_07eda36722311614_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Lip-sync using URLs only.\n\n**Provide:**\n- Visual: **`image_url`** and/or **`video_url`**\n- Audio: **`audio_url`**, **or** **`prompt`** + **`voice`** for TTS\n\n**`option`:** `AutoLipSync`, `SyncLipSync`, `PixverseLipSync`, `HummingBird`, `NewportLipSync`, `Hedra`, `Heygen`, `OminHuman`, `KlingAvatarT2`, `KlingAvatar`, `NewportDreamAvatar`, `CreatifyAurora`, `PVideoAnimate`\n\n```python\nimport requests\n\nr = requests.post(\n    \"https://api.vimmerse.net/v2/video/lip-sync\",\n    headers={\"X-Api-Key\": \"YOUR_API_KEY\", \"Content-Type\": \"application/json\"},\n    json={\n        \"image_url\": \"https://…/face.png\",\n        \"audio_url\": \"https://…/speech.mp3\",\n        \"option\": \"AutoLipSync\",\n        \"async_mode\": True,\n    },\n    timeout=60,\n)\nprint(r.json())\n```",
        "operationId": "generate_lip_sync_video_v2_video_lip_sync_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_07eda36722311614_ref0",
                "type": "object",
                "properties": {
                  "voice": {
                    "type": "string"
                  },
                  "option": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "audio_url": {
                    "type": "string"
                  },
                  "image_url": {
                    "type": "string"
                  },
                  "video_url": {
                    "type": "string"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "audio_duration": {
                    "type": "number"
                  },
                  "video_duration": {
                    "type": "number"
                  }
                },
                "description": "Lip-sync parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody and response details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OSjZ6CDT0ZMLQ-ZIsQjsd",
            "authority": "supplemental",
            "conflicts": [
              "/description"
            ],
            "revisionId": "sdrn_SyVzy97Ls4--EO-Xa0R6j"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schemas"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_rYToGvynzkqDB54duUO7X",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_4thaw0Ft9ZmMQ2QH2drjy"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "video"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service video)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "video",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/video/reference-to-video": {
      "post": {
        "summary": "Reference to Video",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "video_url": "https://media.vimmerse.net/example/input.mp4",
                    "async_mode": false
                  },
                  "status": "success",
                  "credits": 24,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/output.mp4"
                  ],
                  "app_name": "edit-video",
                  "quantity": 1,
                  "mime_type": "video/mp4",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/thumb.png"
                  ],
                  "updated_at": "2025-05-06T16:36:45.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Generated video"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_c0bbd8cac31b0a3e_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_c0bbd8cac31b0a3e_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Generates video from **`image_urls`** (at least one) and **`prompt`**.\n\n**`option`:** `Auto`, `KlingAI`, `Grok`, `VeoReference`, `GoogleOmni`, `HappyHorse`, `KlingT3`, `KlingPro`, `Seedance`, `SeedanceFast`, `SeedanceT6`, `Vidu`, `HeygenAgent`, `PikaScenes`, `MinimaxHailuo`, `Wan`\n\n**`duration`:** seconds (1–30).\n\n**`elements`:** optional. A string is one image URL (existing clients). A group is an array of 1 to 4 public image URLs for one subject. Index 0 is the frontal image. Indexes 1–3 are other angles.\n\n```json\n\"elements\": [\n  \"https://example.com/hero-front.png\",\n  [\"https://example.com/hero-front.png\", \"https://example.com/hero-side.png\"]\n]\n```",
        "operationId": "reference_to_video_v2_video_reference_to_video_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_c0bbd8cac31b0a3e_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "duration": {
                    "type": "integer"
                  },
                  "elements": {
                    "type": "array"
                  },
                  "quantity": {
                    "type": "integer"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "image_urls": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "aspect_ratio": {
                    "type": "string"
                  }
                },
                "description": "Reference-to-video parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody and response details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OSjZ6CDT0ZMLQ-ZIsQjsd",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_SyVzy97Ls4--EO-Xa0R6j"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schemas"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_rYToGvynzkqDB54duUO7X",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_4thaw0Ft9ZmMQ2QH2drjy"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "video"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service video)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "video",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/video/reframe": {
      "post": {
        "summary": "Reframe Video",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "video_url": "https://media.vimmerse.net/example/input.mp4",
                    "async_mode": false
                  },
                  "status": "success",
                  "credits": 24,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/output.mp4"
                  ],
                  "app_name": "edit-video",
                  "quantity": 1,
                  "mime_type": "video/mp4",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/thumb.png"
                  ],
                  "updated_at": "2025-05-06T16:36:45.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Reframed video"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_86e865032623a779_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_86e865032623a779_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "AI reframing (Luma) to a new **`aspect_ratio`** using **`prompt`**. Optional grid/position fields fine-tune the frame.\n\n```python\nimport requests\n\nr = requests.post(\n    \"https://api.vimmerse.net/v2/video/reframe\",\n    headers={\"X-Api-Key\": \"YOUR_API_KEY\", \"Content-Type\": \"application/json\"},\n    json={\n        \"video_url\": \"https://…/input.mp4\",\n        \"aspect_ratio\": \"16:9\",\n        \"prompt\": \"Make it realistic\",\n        \"async_mode\": True,\n    },\n    timeout=60,\n)\nprint(r.json())\n```",
        "operationId": "luma_reframe_video_v2_video_reframe_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_86e865032623a779_ref0",
                "type": "object",
                "properties": {
                  "x_end": {
                    "type": "integer"
                  },
                  "y_end": {
                    "type": "integer"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "x_start": {
                    "type": "integer"
                  },
                  "y_start": {
                    "type": "integer"
                  },
                  "video_url": {
                    "type": "string"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "aspect_ratio": {
                    "type": "string"
                  },
                  "grid_position_x": {
                    "type": "integer"
                  },
                  "grid_position_y": {
                    "type": "integer"
                  }
                },
                "description": "Reframe parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody and response details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OSjZ6CDT0ZMLQ-ZIsQjsd",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_SyVzy97Ls4--EO-Xa0R6j"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schemas"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_rYToGvynzkqDB54duUO7X",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_4thaw0Ft9ZmMQ2QH2drjy"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "video"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service video)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "video",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/video/replace-background": {
      "post": {
        "summary": "Replace Background",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "video_url": "https://media.vimmerse.net/example/input.mp4",
                    "async_mode": false
                  },
                  "status": "success",
                  "credits": 24,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/output.mp4"
                  ],
                  "app_name": "edit-video",
                  "quantity": 1,
                  "mime_type": "video/mp4",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/thumb.png"
                  ],
                  "updated_at": "2025-05-06T16:36:45.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Composited video"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_d8f09a0a085c15c6_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_d8f09a0a085c15c6_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Composites **`video_url`** over **`bg_image_url`** and/or **`bg_video_url`**. Tune **`chroma_key_color`**, **`overlay_scale`**, **`alignment`**, offsets, etc.",
        "operationId": "video_overlay_endpoint_v2_video_replace_background_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_d8f09a0a085c15c6_ref0",
                "type": "object",
                "properties": {
                  "prompt": {
                    "type": "string"
                  },
                  "x_offset": {
                    "type": "integer"
                  },
                  "y_offset": {
                    "type": "integer"
                  },
                  "alignment": {
                    "type": "string"
                  },
                  "video_url": {
                    "type": "string"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "start_time": {
                    "type": "string"
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "bg_image_url": {
                    "type": "string"
                  },
                  "bg_video_url": {
                    "type": "string"
                  },
                  "overlay_scale": {
                    "type": "string"
                  },
                  "use_rembg_lib": {
                    "type": "boolean"
                  },
                  "crop_to_content": {
                    "type": "boolean"
                  },
                  "chroma_key_color": {
                    "type": "string"
                  },
                  "chroma_tolerance": {
                    "type": "string"
                  }
                },
                "description": "Replace background parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody and response details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OSjZ6CDT0ZMLQ-ZIsQjsd",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_SyVzy97Ls4--EO-Xa0R6j"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schemas"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_rYToGvynzkqDB54duUO7X",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_4thaw0Ft9ZmMQ2QH2drjy"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "video"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service video)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "video",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/video/sound-effect": {
      "post": {
        "summary": "Add Sound Effect",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "video_url": "https://media.vimmerse.net/example/input.mp4",
                    "async_mode": false
                  },
                  "status": "success",
                  "credits": 24,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/output.mp4"
                  ],
                  "app_name": "edit-video",
                  "quantity": 1,
                  "mime_type": "video/mp4",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/thumb.png"
                  ],
                  "updated_at": "2025-05-06T16:36:45.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Video with sound effect"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_79953342fec1cd8c_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_79953342fec1cd8c_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Adds an AI sound effect to **`video_url`** described by **`prompt`**.",
        "operationId": "add_sound_effect_v2_video_sound_effect_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_79953342fec1cd8c_ref0",
                "type": "object",
                "properties": {
                  "prompt": {
                    "type": "string"
                  },
                  "video_url": {
                    "type": "string"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "webhook_url": {
                    "type": "string"
                  }
                },
                "description": "Sound effect parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody and response details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OSjZ6CDT0ZMLQ-ZIsQjsd",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_SyVzy97Ls4--EO-Xa0R6j"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schemas"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_rYToGvynzkqDB54duUO7X",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_4thaw0Ft9ZmMQ2QH2drjy"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "video"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service video)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "video",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/video/video-effects": {
      "post": {
        "summary": "Video Effects",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "video_url": "https://media.vimmerse.net/example/input.mp4",
                    "async_mode": false
                  },
                  "status": "success",
                  "credits": 24,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/output.mp4"
                  ],
                  "app_name": "edit-video",
                  "quantity": 1,
                  "mime_type": "video/mp4",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/thumb.png"
                  ],
                  "updated_at": "2025-05-06T16:36:45.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Generated video"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_355c4a6c1c3778f3_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_355c4a6c1c3778f3_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Motion effect from **`image_url`**. Use **`ref_image_url`** for two-subject effects (e.g. hug). Set **`aspect_ratio`** when the provider supports it.\n\n**`option`:** `WanEffects`, `KlingEffects`, `ViduEffects`, `PixverseEffects`, `HiggsfieldEffects`",
        "operationId": "video_effects_v2_video_video_effects_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_355c4a6c1c3778f3_ref0",
                "type": "object",
                "properties": {
                  "effect": {
                    "type": "string"
                  },
                  "option": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "quantity": {
                    "type": "integer"
                  },
                  "image_url": {
                    "type": "string"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "webhook_url": {
                    "type": "string"
                  },
                  "aspect_ratio": {
                    "type": "string"
                  },
                  "ref_image_url": {
                    "type": "string"
                  }
                },
                "description": "Video effects parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody and response details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OSjZ6CDT0ZMLQ-ZIsQjsd",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_SyVzy97Ls4--EO-Xa0R6j"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schemas"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_rYToGvynzkqDB54duUO7X",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_4thaw0Ft9ZmMQ2QH2drjy"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "video"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service video)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "video",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/video/video-to-video": {
      "post": {
        "summary": "Video to Video",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {},
                "example": {
                  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                  "args": {
                    "video_url": "https://media.vimmerse.net/example/input.mp4",
                    "async_mode": false
                  },
                  "status": "success",
                  "credits": 24,
                  "history": [],
                  "results": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/output.mp4"
                  ],
                  "app_name": "edit-video",
                  "quantity": 1,
                  "mime_type": "video/mp4",
                  "created_at": "2025-05-06T16:35:59.840508+00:00",
                  "thumbnails": [
                    "https://media.vimmerse.net/vimmerse-product/ai_video/a1b2c3d4/thumb.png"
                  ],
                  "updated_at": "2025-05-06T16:36:45.102933+00:00",
                  "customer_id": "customer123",
                  "primary_user_id": "user-abc-123"
                }
              }
            },
            "description": "Modified video"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_3cc2b1ba4d75013c_ref1"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_3cc2b1ba4d75013c_ref2"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Modifies or extends **`video_url`** from **`prompt`**. Optional **`image_url`** as reference.\nUse the prompt itself to indicate if want to extend or modify the video.\n\n**`option`:** `Auto`, `KlingAI`, `GoogleOmni`, `HappyHorse`, `KlingT3`, `KlingPro`, `Seedance`, `SeedanceFast`, `SeedanceT6`, `MinimaxHailuo`, `MinimaxTurbo`, `PVideoAnimate`, `Wan`, `LumaModify`",
        "operationId": "generate_video_to_video_v2_video_video_to_video_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_3cc2b1ba4d75013c_ref0",
                "type": "object",
                "properties": {
                  "option": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "image_url": {
                    "type": "string"
                  },
                  "video_url": {
                    "type": "string"
                  },
                  "async_mode": {
                    "type": "boolean"
                  },
                  "webhook_url": {
                    "type": "string"
                  }
                },
                "description": "Video-to-video parameters (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody and response details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_OSjZ6CDT0ZMLQ-ZIsQjsd",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_SyVzy97Ls4--EO-Xa0R6j"
          },
          {
            "gaps": [
              "requestBody schema missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody and response schemas"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_rYToGvynzkqDB54duUO7X",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_4thaw0Ft9ZmMQ2QH2drjy"
          },
          {
            "gaps": [
              "requestBody details missing"
            ],
            "pages": [],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "video"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service video)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "video",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/workflow": {
      "post": {
        "summary": "Create Workflow",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref1"
                },
                "example": {
                  "id": "43c8e3a4-c074-43ef-a956-b682bdcd8305",
                  "model": "vim_wc26_team",
                  "title": "Worldcup Activation",
                  "images": [
                    "https://distribution.vimmerse.net/presets/image/blonde.jpg"
                  ],
                  "result": [
                    {
                      "url": "https://asset.vimmerse.net/vimmerse-product/43c8e3a4-c074-43ef-a956-b682bdcd8305/create_video/327a87e1-2744-4093-8741-9107c8db915d.mp4",
                      "content_type": "video/mp4"
                    }
                  ],
                  "options": {
                    "team": "Brazil",
                    "aspect_ratio": "3:4",
                    "pipeline_mode": "video"
                  },
                  "event_id": "no_event",
                  "created_at": "2026-05-16 16:34:59.780864+00:00",
                  "updated_at": "2026-05-16 16:36:47.510893+00:00",
                  "completions": [
                    {
                      "id": "generate_team_image",
                      "flow": "image_2_image",
                      "result": [
                        {
                          "url": "https://asset.vimmerse.net/vimmerse-product/43c8e3a4-c074-43ef-a956-b682bdcd8305/image_2_image/out.png",
                          "content_type": "image/png"
                        }
                      ],
                      "duration": 45,
                      "used_credits": 4
                    },
                    {
                      "id": "animate_team_video",
                      "flow": "create_video",
                      "result": [
                        {
                          "url": "https://asset.vimmerse.net/vimmerse-product/43c8e3a4-c074-43ef-a956-b682bdcd8305/create_video/out.mp4",
                          "content_type": "video/mp4"
                        }
                      ],
                      "duration": 2499,
                      "used_credits": 80
                    }
                  ],
                  "customer_id": "vimmerse-product",
                  "description": "Celebrating team win of the worldcup.",
                  "used_credits": 120,
                  "total_duration": 2619,
                  "primary_user_id": "basel",
                  "processing_status": "success",
                  "visibility_status": "1",
                  "progress_percentage": 100
                }
              }
            },
            "description": "New Media"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "404": {
            "content": {
              "application/json": {
                "example": {
                  "message": "NOT_FOUND"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref5"
                }
              }
            },
            "description": "Validation Error"
          },
          "default": {
            "description": "Default response"
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Creates a new workflow and starts asynchronous processing.\n\nThis endpoint accepts an `application/json` body. Template-specific configuration is passed via the `options` object.\n\n## JSON Request Example (Python)\n\n```python\nimport requests\n\nBASE_URL = \"https://api.vimmerse.net\"\nAPI_KEY = \"YOUR_API_KEY\"\n\nurl = f\"{BASE_URL}/v2/workflow\"\nheaders = {\n    \"X-Api-Key\": API_KEY,\n    \"Content-Type\": \"application/json\",\n}\n\npayload = {\n    \"title\": \"Worldcup Activation\",\n    \"description\": \"Celebrating team win of the worldcup.\",\n    \"visibility_status\": \"1\",\n    \"image_urls\": [\"https://distribution.vimmerse.net/presets/image/blonde.jpg\"],\n    \"template_id\": \"vim_wc26_team\",\n    \"options\": {\n        \"team\": \"Brazil\",\n        \"aspect_ratio\": \"3:4\",\n        \"pipeline_mode\": \"video\"\n    },\n    \"event_id\": \"campaign_2026_q3\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=60)\nresponse.raise_for_status()\nprint(response.json())\n```\n\n## Full Example: Create Workflow and Poll Until Complete\n\nCopy and run this script, then replace only `YOUR_API_KEY`.\n\n```python\nimport requests\nimport time\n\nBASE_URL = \"https://api.vimmerse.net\"\nAPI_KEY = \"YOUR_API_KEY\"\nHEADERS = {\n    \"X-Api-Key\": API_KEY,\n    \"Content-Type\": \"application/json\",\n}\n\n# 1) Create workflow\ncreate_url = f\"{BASE_URL}/v2/workflow\"\ncreate_payload = {\n    \"title\": \"Worldcup Activation\",\n    \"description\": \"Celebrating team win of the worldcup.\",\n    \"visibility_status\": \"1\",\n    \"image_urls\": [\"https://distribution.vimmerse.net/presets/image/blonde.jpg\"],\n    \"template_id\": \"vim_wc26_team\",\n    \"options\": {\n        \"team\": \"Brazil\",\n        \"aspect_ratio\": \"3:4\",\n        \"pipeline_mode\": \"video\"\n    },\n    \"event_id\": \"campaign_2026_q3\"\n}\n\ncreate_res = requests.post(create_url, headers=HEADERS, json=create_payload, timeout=60)\ncreate_res.raise_for_status()\nworkflow_data = create_res.json()\nworkflow_id = workflow_data[\"id\"]\nprint(f\"Workflow created: {workflow_id}\")\nprint(f\"Initial status: {workflow_data.get('processing_status')}\")\n\n# 2) Poll workflow status\nstatus_url = f\"{BASE_URL}/v2/workflow/{workflow_id}\"\nmax_attempts = 120\nfor attempt in range(max_attempts):\n    status_res = requests.get(status_url, headers=HEADERS, timeout=30)\n    status_res.raise_for_status()\n    data = status_res.json()\n\n    status = data.get(\"processing_status\", \"\")\n    progress = data.get(\"progress_percentage\", 0)\n    print(f\"Attempt {attempt + 1}: status={status}, progress={progress}%\")\n\n    if status == \"success\":\n        print(\"Workflow completed successfully.\")\n        break\n    if status == \"fail\":\n        raise RuntimeError(\"Workflow processing failed.\")\n\n    time.sleep(10)\nelse:\n    raise TimeoutError(\"Workflow processing is taking longer than expected.\")\n\n# 3) Print final outputs\nresult_items = data.get(\"result\", [])\ncompletion_items = data.get(\"completions\", [])\n\nprint(f\"Final results: {len(result_items)} item(s)\")\nfor item in result_items:\n    print(f\"- {item.get('content_type')}: {item.get('url')}\")\n\nprint(f\"Step completions: {len(completion_items)} step(s)\")\nfor step in completion_items:\n    step_id = step.get(\"id\") or step.get(\"flow\")\n    step_results = step.get(\"result\", [])\n    print(f\"- {step_id}: {len(step_results)} output(s)\")\n```",
        "operationId": "create_task_v2_workflow_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_0ac08abaaaafd2eb_ref0",
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Optional client-provided UUID."
                  },
                  "title": {
                    "type": "string"
                  },
                  "options": {
                    "type": "object"
                  },
                  "event_id": {
                    "type": "string"
                  },
                  "image_urls": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "description": {
                    "type": "string"
                  },
                  "template_id": {
                    "type": "string"
                  },
                  "visibility_status": {
                    "type": "string"
                  },
                  "payment_session_id": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing requestBody schema details",
              "Missing parameter definitions"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_I7gX46koEng48qVabHSNJ",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description"
            ],
            "revisionId": "sdrn_7a4e8H9IHgcgTw2cjygKX"
          },
          {
            "gaps": [
              "Missing request body schema details",
              "Missing response schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_OGLP3Ro7VLDKbpBOuGdpe",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description"
            ],
            "revisionId": "sdrn_RC3iA_V0xoN0N7q3yE5CC"
          },
          {
            "gaps": [
              "requestBody schema details missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody schema",
              "Missing response schema"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_rg_ophht7IrnbHxej2IZ3",
            "authority": "supplemental",
            "conflicts": [
              "/description"
            ],
            "revisionId": "sdrn_WiAvJv4yGbsS9mXNsPJjz"
          },
          {
            "gaps": [
              "requestBody schema",
              "parameters"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "workflow"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": null,
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "$0.030000 per credit (credits, service workflow)",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.030000"
          },
          "rates": [
            {
              "service": "workflow",
              "meter": "credits",
              "unit": "credit",
              "unitSize": 1,
              "priceUsd": "0.030000",
              "includedUnits": 0
            }
          ]
        }
      }
    },
    "/v2/workflow/estimate-credits": {
      "post": {
        "summary": "Estimate Credits",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_7ac1f6c3b84e5257_ref1"
                }
              }
            },
            "description": "Credit estimate and breakdown"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_7ac1f6c3b84e5257_ref2"
                }
              }
            },
            "description": "Validation Error"
          },
          "default": {
            "description": "Default response"
          }
        },
        "description": "Returns the template list-price credits for **POST /v2/workflow** given `template_id` and `options`. No authentication required. When a template defines both image and video list prices, `options.pipeline_mode` (`image` or `video`) selects which applies. Actual runtime charges may include per-step metering and cloud fees beyond this estimate.",
        "operationId": "estimate_workflow_credits_api_v2_workflow_estimate_credits_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_7ac1f6c3b84e5257_ref0",
                "type": "object",
                "properties": {
                  "options": {
                    "type": "object",
                    "description": "Configuration options for the workflow."
                  },
                  "template_id": {
                    "type": "string",
                    "description": "The ID of the workflow template."
                  }
                },
                "description": "Parameters to price (JSON)."
              }
            }
          },
          "required": true
        },
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "requestBody schema details missing"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_I7gX46koEng48qVabHSNJ",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description"
            ],
            "revisionId": "sdrn_7a4e8H9IHgcgTw2cjygKX"
          },
          {
            "gaps": [
              "Request body schema details for options are not explicitly defined in the provided text."
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_OGLP3Ro7VLDKbpBOuGdpe",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_RC3iA_V0xoN0N7q3yE5CC"
          },
          {
            "gaps": [
              "Missing requestBody schema details",
              "Missing response schema details"
            ],
            "pages": [],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing requestBody schema",
              "Missing response schema"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_rg_ophht7IrnbHxej2IZ3",
            "authority": "supplemental",
            "conflicts": [
              "/description",
              "/requestBody/content/application/json/schema/required"
            ],
            "revisionId": "sdrn_WiAvJv4yGbsS9mXNsPJjz"
          },
          {
            "gaps": [
              "Missing requestBody schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_rYToGvynzkqDB54duUO7X",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description",
              "/description"
            ],
            "revisionId": "sdrn_4thaw0Ft9ZmMQ2QH2drjy"
          },
          {
            "gaps": [
              "requestBody schema",
              "parameters"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "workflow"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/workflow/templates": {
      "get": {
        "summary": "List Workflow Templates",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_5203a421bf08af82_ref0"
                }
              }
            },
            "description": "Successful Response"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_5203a421bf08af82_ref1"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "template_ids",
            "schema": {
              "type": "array",
              "anyOf": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ],
              "items": {
                "type": "string"
              },
              "title": "Template Ids",
              "description": "Return only these template IDs (repeat: `?template_ids=a&template_ids=b`)."
            },
            "required": false,
            "description": "Return only these template IDs (repeat: `?template_ids=a&template_ids=b`)."
          },
          {
            "in": "query",
            "name": "category",
            "schema": {
              "type": "string",
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Category",
              "description": "Filter by template category (e.g. sport, marketing, general). Omit to return all categories available to your account."
            },
            "required": false,
            "description": "Filter by template category (e.g. sport, marketing, general). Omit to return all categories available to your account."
          },
          {
            "in": "query",
            "name": "detail",
            "schema": {
              "type": "boolean",
              "title": "Detail",
              "default": false,
              "description": "When true, include full template definitions (`available_options`, `steps`, etc.). When false (default), return summary rows only."
            },
            "required": false,
            "description": "When true, include full template definitions (`available_options`, `steps`, etc.). When false (default), return summary rows only."
          },
          {
            "in": "query",
            "name": "include_system_templates",
            "schema": {
              "type": "boolean",
              "title": "Include System Templates",
              "default": false,
              "description": "When false (default), return only templates assigned to this customer. Set true to also include shared system templates."
            },
            "required": false,
            "description": "When false (default), return only templates assigned to this customer. Set true to also include shared system templates."
          },
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Returns the workflow template catalog for building UIs, customer scripts, and API playgrounds.\n\nRequires `X-Api-Key`. Templates are scoped to the customer tied to your API key (plus product defaults). Inactive templates are omitted.\n\n**Response shape**\n\n- `detail=false` (default) — summary rows: `template_id`, `inputs`, label, credits, thumbnails, description, category, etc.\n- `detail=true` — full template definition (`available_options`, `steps`, outputs, and related metadata).\n\n**Filters**\n\n- `category` — optional; e.g. `sport`, `marketing`, `general`, `utility`, `healthcare`. Omit to return all categories you can access.\n- `template_ids` — optional; return only specific template IDs (must be in your catalog).\n\n**Examples**\n\n```http\nGET /v2/workflow/templates\nGET /v2/workflow/templates?category=sport\nGET /v2/workflow/templates?detail=true\nGET /v2/workflow/templates?template_ids=vim_wc26_team&detail=true\n```\n\nRe-fetch after deploy when templates or options change.",
        "operationId": "list_workflow_templates_api_v2_workflow_templates_get",
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_rg_ophht7IrnbHxej2IZ3",
            "authority": "supplemental",
            "conflicts": [
              "/description"
            ],
            "revisionId": "sdrn_WiAvJv4yGbsS9mXNsPJjz"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "workflow"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/workflow/templates/{template_id}": {
      "get": {
        "summary": "Get Workflow Template",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_c31f8e62fff7a508_ref0"
                }
              }
            },
            "description": "Successful Response"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_c31f8e62fff7a508_ref1"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "template_id",
            "schema": {
              "type": "string",
              "title": "Template Id",
              "description": "Workflow template ID"
            },
            "required": true,
            "description": "Workflow template ID"
          },
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Read a workflow template by ID (system or custom). Requires authentication.",
        "operationId": "get_workflow_template_api_v2_workflow_templates__template_id__get",
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_rg_ophht7IrnbHxej2IZ3",
            "authority": "supplemental",
            "conflicts": [
              "/description"
            ],
            "revisionId": "sdrn_WiAvJv4yGbsS9mXNsPJjz"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "workflow"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/v2/workflow/{workflow_id}": {
      "get": {
        "summary": "Get Workflow Status",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ead611d9b0914954_ref0"
                },
                "example": {
                  "id": "43c8e3a4-c074-43ef-a956-b682bdcd8305",
                  "model": "vim_wc26_team",
                  "title": "Worldcup Activation",
                  "images": [
                    "https://distribution.vimmerse.net/presets/image/blonde.jpg"
                  ],
                  "result": [
                    {
                      "url": "https://asset.vimmerse.net/vimmerse-product/43c8e3a4-c074-43ef-a956-b682bdcd8305/create_video/327a87e1-2744-4093-8741-9107c8db915d.mp4",
                      "content_type": "video/mp4"
                    }
                  ],
                  "options": {
                    "team": "Brazil",
                    "aspect_ratio": "3:4",
                    "pipeline_mode": "video"
                  },
                  "event_id": "no_event",
                  "created_at": "2026-05-16 16:34:59.780864+00:00",
                  "updated_at": "2026-05-16 16:36:47.510893+00:00",
                  "completions": [
                    {
                      "id": "generate_team_image",
                      "flow": "image_2_image",
                      "result": [
                        {
                          "url": "https://asset.vimmerse.net/vimmerse-product/43c8e3a4-c074-43ef-a956-b682bdcd8305/image_2_image/out.png",
                          "content_type": "image/png"
                        }
                      ],
                      "duration": 45,
                      "used_credits": 4
                    },
                    {
                      "id": "animate_team_video",
                      "flow": "create_video",
                      "result": [
                        {
                          "url": "https://asset.vimmerse.net/vimmerse-product/43c8e3a4-c074-43ef-a956-b682bdcd8305/create_video/out.mp4",
                          "content_type": "video/mp4"
                        }
                      ],
                      "duration": 2499,
                      "used_credits": 80
                    }
                  ],
                  "customer_id": "vimmerse-product",
                  "description": "Celebrating team win of the worldcup.",
                  "used_credits": 120,
                  "total_duration": 2619,
                  "primary_user_id": "basel",
                  "processing_status": "success",
                  "visibility_status": "1",
                  "progress_percentage": 100
                }
              }
            },
            "description": "Workflow Object"
          },
          "401": {
            "description": "Agent identity credential required: register once, then retry with Authorization: Bearer <token>."
          },
          "402": {
            "description": "Payment required"
          },
          "404": {
            "content": {
              "application/json": {
                "example": {
                  "message": "NOT_FOUND"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sds_juE72Zb8vmMBGwc46sF0s_ead611d9b0914954_ref4"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "workflow_id",
            "schema": {
              "type": "string",
              "title": "Workflow ID",
              "examples": [
                "abc123-def456-ghi789"
              ],
              "description": "Unique identifier of the workflow"
            },
            "example": "abc123-def456-ghi789",
            "required": true,
            "description": "Unique identifier of the workflow"
          },
          {
            "in": "header",
            "name": "username",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Username"
            },
            "required": false
          },
          {
            "in": "header",
            "name": "X-Client-Type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Client-Type"
            },
            "required": false
          }
        ],
        "description": "Retrieves workflow details including processing status, progress, and generated outputs.\n\nUse this endpoint in polling loops after creation until `processing_status` is `success` or `fail`.",
        "operationId": "get_workflow_api_v2_workflow__workflow_id__get",
        "x-zeroclick-document-sources": [
          {
            "gaps": [],
            "pages": [],
            "sourceId": "sds_juE72Zb8vmMBGwc46sF0s",
            "authority": "official",
            "conflicts": [],
            "revisionId": "sdrn_pbRuDbTep4T8OQztoES6X"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [
              1
            ],
            "sourceId": "sds_Diw1qE-5rww027MXMsZPI",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_NCVUcgKPDGKV58Ph2oLpN"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [],
            "sourceId": "sds_QqjkmdO49peXjhbOraV4N",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_rNXo8VxmGfAzQumWOSzNC"
          },
          {
            "gaps": [
              "Missing response schema details"
            ],
            "pages": [],
            "sourceId": "sds_r_YEir_HbkRbjehZpFMom",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_PC0xikhvsAd5Bo75kIYfS"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_rg_ophht7IrnbHxej2IZ3",
            "authority": "supplemental",
            "conflicts": [
              "/description"
            ],
            "revisionId": "sdrn_WiAvJv4yGbsS9mXNsPJjz"
          },
          {
            "gaps": [],
            "pages": [
              1
            ],
            "sourceId": "sds_T65_LSk2nh2Ry99TkRhYO",
            "authority": "supplemental",
            "conflicts": [
              "/responses/200/description"
            ],
            "revisionId": "sdrn_2PYoNcS1Dse_KT736DET7"
          }
        ],
        "x-zeroclick-services": [
          "workflow"
        ],
        "x-payment-info": {
          "access": "payg",
          "protocols": [
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            },
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "description": "Free",
              "intent": "charge",
              "method": "tempo"
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          }
        }
      }
    },
    "/zeroclick/agent/quote": {
      "post": {
        "operationId": "sellerAgentQuote",
        "summary": "Get a free seller API quote and purchase guide",
        "description": "Describe your task to get the matching API contract, prices, prerequisites and next steps. This is a $0 wallet-proof lookup, not the seller's paid service. No purchase is executed. Without a wallet, use /zeroclick/agent/guide.",
        "servers": [
          {
            "url": "https://agents.vimmerse.net/zcj/8514xm9ekf38"
          }
        ],
        "security": [
          {
            "sellerAgentX402": []
          },
          {
            "sellerAgentMpp": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "type": "object",
                "properties": {
                  "goal": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000,
                    "description": "Describe the task and known inputs. Do not include credentials."
                  },
                  "quantity": {
                    "description": "Number of API calls, not returned items. Omit when unknown; describe desired output in goal.",
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 1000000
                  },
                  "budgetUsd": {
                    "description": "Total cash budget in USD. A quote does not authorize spending.",
                    "type": "string",
                    "pattern": "^(0|[1-9]\\d{0,8})(\\.\\d{1,6})?$"
                  },
                  "budgetExclusive": {
                    "type": "boolean"
                  },
                  "reviewAfterCalls": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 1000000
                  },
                  "requirements": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 300
                  },
                  "humanAvailable": {
                    "description": "Whether a human is in the loop; omit when unknown. Executing a human's request without further interruptions does not by itself mean false.",
                    "type": "boolean"
                  },
                  "payment": {
                    "description": "Known payment method for the eventual purchase, independent of this free lookup's wallet proof.",
                    "type": "string",
                    "enum": [
                      "x402",
                      "mpp",
                      "card"
                    ]
                  }
                },
                "required": [
                  "goal"
                ],
                "additionalProperties": false
              },
              "example": {
                "goal": "Find the available services, prices and purchase steps"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Task guidance; inspect status before executing anything",
            "content": {
              "application/json": {
                "schema": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "quoted",
                        "catalog",
                        "ready",
                        "needs_input",
                        "blocked",
                        "unknown",
                        "unsupported",
                        "unavailable"
                      ]
                    },
                    "priceUsd": {
                      "type": "string",
                      "const": "0"
                    },
                    "guide": {
                      "type": "string",
                      "description": "Markdown guidance containing the task result, exact contract, pricing and next steps when available. No purchase is executed."
                    },
                    "guideUrl": {
                      "type": "string",
                      "format": "uri",
                      "description": "Wallet-free advisor endpoint for further planning or recovery."
                    }
                  },
                  "required": [
                    "status",
                    "priceUsd",
                    "guide",
                    "guideUrl"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "402": {
            "description": "$0 x402 or MPP wallet proof required; sign and retry the same request. No funds are transferred."
          },
          "503": {
            "description": "Advisor unavailable; use the wallet-free guide or direct storefront references"
          }
        },
        "x-payment-info": {
          "access": "payg",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0"
          },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "scheme": "exact",
                "currency": "USDC"
              }
            },
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "USD"
              }
            }
          ],
          "offers": [
            {
              "amount": "0",
              "currency": "0x20C000000000000000000000b9537d11c60E8b50",
              "method": "tempo",
              "intent": "charge",
              "description": "Free seller advisor lookup"
            }
          ]
        }
      }
    }
  },
  "x-zeroclick-navigation-footer": {
    "instructions": [
      "Use this spec if it contains the operation and details you need. Otherwise, search or open a relevant service spec using the links below.",
      "Find service slugs in x-zeroclick-services or x-payment-info.rates[].service; use them in serviceSpecTemplate, never as request values.",
      "URL-encode template values. Search is ranked; service, path, and method filters are exact. Filters combine.",
      "Pages contain up to 10 operations; follow info.x-next or the Link header if you need more results. Shared operations retain all selector values."
    ],
    "fullSpec": "https://agents.vimmerse.net/zcj/8514xm9ekf38/openapi.json",
    "services": "https://agents.vimmerse.net/zcj/8514xm9ekf38/services",
    "serviceSpecTemplate": "https://agents.vimmerse.net/zcj/8514xm9ekf38/services/{slug}/openapi.json",
    "searchTemplate": "https://agents.vimmerse.net/zcj/8514xm9ekf38/openapi.json?q={text}",
    "operationTemplate": "https://agents.vimmerse.net/zcj/8514xm9ekf38/openapi.json?path={path}&method={method}",
    "firstPage": "https://agents.vimmerse.net/zcj/8514xm9ekf38/openapi.json?page=1"
  }
}
