Fotor OpenAPI
    • Getting Started
      • Introduction
      • Access and Authentication
      • For Serverless Clients
      • Token Consumption
    • Reference
      • Get User Token Balance
        GET
      • Query Task Details
        GET
      • AI Upscaler API
        POST
      • AI Skin Retouch API
        POST
      • Image Generation API
        POST
      • Text to Image API
        POST
      • Image to Image (AI Art Effects) API
        POST
      • Background Remover API
        POST
      • AI Headshot API
        POST
      • Photo Colorize API
        POST
      • Photo Restoration API
        POST
      • AI Replace API
        POST
      • AI Expand API
        POST
      • AI Baby Generator API
        POST
    • Webhook
      • Webhook
    • AI Editor SDK
      • Getting Started
      • Get Sdk Temporary Token
        GET
    • Schemas
      • RecolorRequest
      • MiniappsRequest
      • SubmitResponse
      • ErrorResponse

    ErrorResponse

    Errors are returned with an HTTP 4xx/5xx status code and a body of {"error": "..."}, not the code / msg wrapper.

    {
        "error": "source domain is not allowed"
    }
    Built with