> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iotools.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Instagram Post Generator

> Generate a fake Instagram post image — profile row with story ring and verified badge, your photo at a real feed ratio, like and comment counts, caption with tinted hashtags, in light or dark mode — and download it as SVG.

[Try Instagram Post Generator in your browser →](https://iotools.cloud/tool/instagram-post-generator/)



## OpenAPI

````yaml https://api.iotools.cloud/v1/openapi post /v1/tool/instagram-post-generator
openapi: 3.1.0
info:
  title: iotools.cloud API
  version: 1.0.0
  description: >-
    Run any iotools.cloud tool over HTTP.


    Authenticate with `Authorization: Bearer iot_live_…`.


    **Only `POST /v1/tool/{slug}` costs credits.** Every GET here — the catalog,
    a tool's schema, your balance — is free. A tool call is charged its own
    weight or your plan's per-call minimum, whichever is larger;
    `x-iotools-credit-cost` on each operation is quoted at the free-tier
    minimum, and `GET /v1/tools/list` returns the exact figure for your key.
    `GET /v1/me/credits` reports what you have left, and `GET /v1/me/usage`
    reports what it went on.


    Failures are RFC 9457 problem documents — branch on `code`.
servers:
  - url: https://api.iotools.cloud
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Catalog
    description: Find a tool and read its contract. Free.
  - name: Converters
    description: >-
      Convert between formats, encodings, and units — Base64, CSV and JSON,
      timestamps, and more. Fast, free, and processed right in your browser.
  - name: Formatters
    description: >-
      Format, beautify, minify, and validate code and data — JSON, HTML, CSS,
      SQL, and regex. Clean up messy input in one click, with nothing to upload.
  - name: Generators
    description: >-
      Generate exactly what you need and on demand — passwords, UUIDs, QR codes,
      hashes, random numbers, and more. Secure, instant, and free.
  - name: Calculators
    description: >-
      Crunch the numbers fast — from everyday math to specialized conversions
      and unit work. Free online calculators that run entirely in your browser.
  - name: Editors
    description: >-
      Edit and transform text, code, and images with quick, focused editors that
      run entirely in your browser — nothing to install, and no sign-up needed.
  - name: Utilities
    description: >-
      Everyday developer and web utilities — DNS and IP lookups, redirect and
      certificate checkers, and other quick diagnostics. Free and
      privacy-friendly.
  - name: Account
    description: Your key's allowance, limits and usage history.
paths:
  /v1/tool/instagram-post-generator:
    post:
      tags:
        - Generators
      summary: Instagram Post Generator
      description: >-
        Generate a fake Instagram post image — profile row with story ring and
        verified badge, your photo at a real feed ratio, like and comment
        counts, caption with tinted hashtags, in light or dark mode — and
        download it as SVG.


        [Try Instagram Post Generator in your browser
        →](https://iotools.cloud/tool/instagram-post-generator/)
      operationId: run_instagram_post_generator
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                username:
                  type: string
                  description: Username
                verified:
                  type: boolean
                  description: Verified account
                location:
                  type: string
                  description: Location
                avatar:
                  type: string
                  contentEncoding: base64
                  description: Profile photo
                photo:
                  type: string
                  contentEncoding: base64
                  description: Post photo
                caption:
                  type: string
                  description: Caption
                ratio:
                  enum:
                    - square
                    - portrait
                    - landscape
                  description: Photo ratio
                theme:
                  enum:
                    - light
                    - dark
                  description: Appearance
                likes:
                  type: number
                  description: Likes
                  minimum: 0
                comments:
                  type: number
                  description: Comments
                  minimum: 0
                timeAgo:
                  type: string
                  description: Timestamp
                liked:
                  type: boolean
                  description: Already liked (red heart)
                saved:
                  type: boolean
                  description: Already saved (filled bookmark)
                storyRing:
                  type: boolean
                  description: Story ring around the profile photo
              required: []
            examples:
              square_photo_light_mode_verified:
                summary: Square photo, light mode, verified
                value:
                  username: alexmorgan
                  verified: 'true'
                  location: Lisbon, Portugal
                  caption: 'Golden hour on the last day #travel #goldenhour with @sam'
                  ratio: square
                  theme: light
                  likes: '1284'
                  comments: '38'
                  timeAgo: 2 hours ago
                  liked: 'true'
                  saved: ''
                  storyRing: 'true'
              portrait_dark_mode_hostile_characters:
                summary: Portrait, dark mode, hostile characters
                value:
                  username: <script>alert("x")</script>
                  verified: ''
                  location: ''
                  caption: 5 < 6 & "quoted" 'single'
                  ratio: portrait
                  theme: dark
                  likes: '0'
                  comments: '0'
                  timeAgo: ''
                  liked: ''
                  saved: 'true'
                  storyRing: ''
      responses:
        '200':
          description: Tool output
          content:
            application/json:
              examples:
                square_photo_light_mode_verified:
                  summary: Square photo, light mode, verified
                  value:
                    tool: instagram-post-generator
                    tool_version: 1.0.1
                    outputs:
                      svg: >-
                        <svg xmlns="http://www.w3.org/2000/svg" width="390"
                        height="600" viewBox="0 0 390 600"
                        font-family="-apple-system,'SF Pro Text','Segoe
                        UI',Roboto,'Helvetica
                        Neue',Helvetica,Arial,sans-serif"><title>Instagram post
                        by alexmorgan</title><defs><linearGradient id="igRing"
                        x1="0" y1="1" x2="1" y2="0"><stop offset="0"
                        stop-color="#f09433"/><stop offset="0.5"
                        stop-color="#dc2743"/><stop offset="1"
                        stop-color="#bc1888"/></linearGradient><linearGradient
                        id="igPhoto" x1="0" y1="0" x2="1" y2="1"><stop
                        offset="0" stop-color="#f1f1f1"/><stop offset="1"
                        stop-color="#dcdcdc"/></linearGradient></defs><rect
                        width="390" height="600" fill="#ffffff"/><circle cx="31"
                        cy="28" r="16" fill="none" stroke="url(#igRing)"
                        stroke-width="2"/><circle cx="31" cy="28" r="14"
                        fill="#c7c7c7"/><text x="31" y="32.76"
                        text-anchor="middle" font-size="11.76" font-weight="600"
                        fill="#ffffff">A</text><text x="58" y="24"
                        font-size="13.5" font-weight="600"
                        fill="#000000">alexmorgan</text><g
                        transform="translate(130.5 13)"><circle cx="7" cy="7"
                        r="7" fill="#3897f0"/><path d="M4 7.2 6.2 9.4 10 5.4"
                        fill="none" stroke="#ffffff" stroke-width="1.7"
                        stroke-linecap="round"
                        stroke-linejoin="round"/></g><text x="58" y="39"
                        font-size="11.5" fill="#000000">Lisbon,
                        Portugal</text><circle cx="362" cy="28" r="1.8"
                        fill="#000000"/><circle cx="368" cy="28" r="1.8"
                        fill="#000000"/><circle cx="374" cy="28" r="1.8"
                        fill="#000000"/><rect x="0" y="56" width="390"
                        height="390" fill="url(#igPhoto)"/><g fill="none"
                        stroke="#9a9a9a" stroke-width="2" stroke-linecap="round"
                        stroke-linejoin="round"><rect x="169" y="231" width="52"
                        height="40" rx="7"/><circle cx="204" cy="243"
                        r="4"/><path d="M171 263l14-16 10 11 5-5 21 10"/></g><g
                        transform="translate(12 457)" fill="#ed4956"
                        stroke="#ed4956" stroke-width="1.8"
                        stroke-linecap="round" stroke-linejoin="round"><path
                        d="M12 20.6 4.4 13a4.9 4.9 0 0 1 6.9-6.9l.7.7.7-.7A4.9
                        4.9 0 0 1 19.6 13z"/></g><g transform="translate(46
                        457)" fill="none" stroke="#000000" stroke-width="1.8"
                        stroke-linecap="round" stroke-linejoin="round"><path
                        d="M20.8 11.4a8.4 8.4 0 0 1-12.2 7.5L3.2
                        20.4l1.6-5.2a8.4 8.4 0 1 1 16-3.8z"/></g><g
                        transform="translate(80 457)" fill="none"
                        stroke="#000000" stroke-width="1.8"
                        stroke-linecap="round" stroke-linejoin="round"><path
                        d="M21.5 2.5 10.6 13.4M21.5 2.5l-7
                        19-3.9-8.1-8.1-3.9z"/></g><g transform="translate(354
                        457)" fill="none" stroke="#000000" stroke-width="1.8"
                        stroke-linecap="round" stroke-linejoin="round"><path
                        d="M6.5 3h11v18l-5.5-4.2L6.5 21z"/></g><text x="14"
                        y="498" font-size="13.5" font-weight="600"
                        fill="#000000">1,284 likes</text><text x="14" y="519"
                        font-size="13.5" fill="#000000"
                        xml:space="preserve"><tspan
                        font-weight="600">alexmorgan</tspan> Golden hour on the
                        last day <tspan fill="#00376b">#travel</tspan> <tspan
                        fill="#00376b">#goldenhour</tspan></text><text x="14"
                        y="537" font-size="13.5" fill="#000000"
                        xml:space="preserve">with <tspan
                        fill="#00376b">@sam</tspan></text><text x="14" y="558"
                        font-size="13.5" fill="#8e8e8e">View all 38
                        comments</text><text x="14" y="578" font-size="10.5"
                        letter-spacing="0.3" fill="#8e8e8e">2 HOURS
                        AGO</text><rect x="0.5" y="0.5" width="389" height="599"
                        fill="none" stroke="#dbdbdb"/></svg>
                    credits_used: 3
                    credits_remaining: null
                portrait_dark_mode_hostile_characters:
                  summary: Portrait, dark mode, hostile characters
                  value:
                    tool: instagram-post-generator
                    tool_version: 1.0.1
                    outputs:
                      svg: >-
                        <svg xmlns="http://www.w3.org/2000/svg" width="390"
                        height="643.5" viewBox="0 0 390 643.5"
                        font-family="-apple-system,'SF Pro Text','Segoe
                        UI',Roboto,'Helvetica
                        Neue',Helvetica,Arial,sans-serif"><title>Instagram post
                        by
                        &lt;script&gt;alert(&quot;x&quot;)&lt;/script&gt;</title><defs><linearGradient
                        id="igRing" x1="0" y1="1" x2="1" y2="0"><stop offset="0"
                        stop-color="#f09433"/><stop offset="0.5"
                        stop-color="#dc2743"/><stop offset="1"
                        stop-color="#bc1888"/></linearGradient><linearGradient
                        id="igPhoto" x1="0" y1="0" x2="1" y2="1"><stop
                        offset="0" stop-color="#1c1c1c"/><stop offset="1"
                        stop-color="#2e2e2e"/></linearGradient></defs><rect
                        width="390" height="643.5" fill="#000000"/><circle
                        cx="31" cy="28" r="17" fill="#3a3a3a"/><text x="31"
                        y="33.78" text-anchor="middle" font-size="14.28"
                        font-weight="600" fill="#ffffff">&lt;</text><text x="58"
                        y="32" font-size="13.5" font-weight="600"
                        fill="#f5f5f5">&lt;script&gt;alert(&quot;x&quot;)&lt;/script&gt;</text><circle
                        cx="362" cy="28" r="1.8" fill="#f5f5f5"/><circle
                        cx="368" cy="28" r="1.8" fill="#f5f5f5"/><circle
                        cx="374" cy="28" r="1.8" fill="#f5f5f5"/><rect x="0"
                        y="56" width="390" height="487.5"
                        fill="url(#igPhoto)"/><g fill="none" stroke="#9a9a9a"
                        stroke-width="2" stroke-linecap="round"
                        stroke-linejoin="round"><rect x="169" y="279.75"
                        width="52" height="40" rx="7"/><circle cx="204"
                        cy="291.75" r="4"/><path d="M171 311.75l14-16 10 11 5-5
                        21 10"/></g><g transform="translate(12 554.5)"
                        fill="none" stroke="#f5f5f5" stroke-width="1.8"
                        stroke-linecap="round" stroke-linejoin="round"><path
                        d="M12 20.6 4.4 13a4.9 4.9 0 0 1 6.9-6.9l.7.7.7-.7A4.9
                        4.9 0 0 1 19.6 13z"/></g><g transform="translate(46
                        554.5)" fill="none" stroke="#f5f5f5" stroke-width="1.8"
                        stroke-linecap="round" stroke-linejoin="round"><path
                        d="M20.8 11.4a8.4 8.4 0 0 1-12.2 7.5L3.2
                        20.4l1.6-5.2a8.4 8.4 0 1 1 16-3.8z"/></g><g
                        transform="translate(80 554.5)" fill="none"
                        stroke="#f5f5f5" stroke-width="1.8"
                        stroke-linecap="round" stroke-linejoin="round"><path
                        d="M21.5 2.5 10.6 13.4M21.5 2.5l-7
                        19-3.9-8.1-8.1-3.9z"/></g><g transform="translate(354
                        554.5)" fill="#f5f5f5" stroke="#f5f5f5"
                        stroke-width="1.8" stroke-linecap="round"
                        stroke-linejoin="round"><path d="M6.5
                        3h11v18l-5.5-4.2L6.5 21z"/></g><text x="14" y="595.5"
                        font-size="13.5" font-weight="600" fill="#f5f5f5">0
                        likes</text><text x="14" y="616.5" font-size="13.5"
                        fill="#f5f5f5" xml:space="preserve"><tspan
                        font-weight="600">&lt;script&gt;alert(&quot;x&quot;)&lt;/script&gt;</tspan>
                        5 &lt; 6 &amp; &quot;quoted&quot;
                        &apos;single&apos;</text><rect x="0.5" y="0.5"
                        width="389" height="642.5" fill="none"
                        stroke="#262626"/></svg>
                    credits_used: 3
                    credits_remaining: null
              schema:
                type: object
                required:
                  - tool
                  - tool_version
                  - outputs
                  - credits_used
                  - credits_remaining
                properties:
                  outputs:
                    type: object
                    properties:
                      svg:
                        type: string
                        description: SVG source
                  tool:
                    type: string
                    description: The tool's slug, echoing the {slug} in the request path.
                  tool_version:
                    type: string
                    description: Output-contract version for this tool.
                  credits_used:
                    type: integer
                    description: >-
                      Credits this call consumed, after any settlement refund. 0
                      when metering is disabled.
                  credits_remaining:
                    type:
                      - integer
                      - 'null'
                    description: >-
                      Credits left in the current monthly allowance, or null
                      when metering is disabled.
                  request_id:
                    type: string
                    description: Correlation id, also sent as x-request-id.
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/InsufficientCredits'
        '403':
          $ref: '#/components/responses/ToolNotAllowed'
        '404':
          $ref: '#/components/responses/ToolNotFound'
        '413':
          $ref: '#/components/responses/PayloadTooLarge'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ToolFailed'
        '503':
          $ref: '#/components/responses/ToolDisabled'
      security:
        - bearerAuth: []
components:
  responses:
    ValidationError:
      description: Invalid request.
      content:
        application/problem+json:
          schema:
            type: object
            description: >-
              RFC 9457 problem document, served as application/problem+json.
              Branch on `code`; `title` is human prose and may be reworded
              without notice. Some failures add extension members — `fields` on
              validation errors, `retry_after` on 429s,
              `credits_used`/`credits_remaining` on billing-adjacent failures —
              documented on the responses that carry them.
            required:
              - type
              - title
              - status
              - code
            properties:
              type:
                type: string
                format: uri
                description: Stable documentation URI for this failure.
                examples:
                  - https://iotools.cloud/docs/errors/validation_error
              title:
                type: string
                description: Short human-readable summary of the failure.
                examples:
                  - Invalid request
              status:
                type: integer
                description: HTTP status code, matching the response's own status.
              code:
                type: string
                description: >-
                  Stable machine-readable error code — branch on this, not
                  `title`.
                enum:
                  - validation_error
              detail:
                type: string
                description: Human explanation of this occurrence.
              request_id:
                type: string
                description: Correlation id, also sent as x-request-id.
              fields:
                type:
                  - object
                  - string
                additionalProperties:
                  type: string
                description: >-
                  What failed: a map of field name → message. Absent when the
                  body itself is malformed; a single string when the failure
                  isn't tied to one field.
          example:
            type: https://iotools.cloud/docs/errors/validation_error
            title: Invalid request
            status: 400
            code: validation_error
            detail: One or more inputs are invalid — see `fields`.
            request_id: e4042b29-8f1e-4c7a-9b52-6f0d1a3c7e11
            fields:
              inputString: Required
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/problem+json:
          schema:
            type: object
            description: >-
              RFC 9457 problem document, served as application/problem+json.
              Branch on `code`; `title` is human prose and may be reworded
              without notice. Some failures add extension members — `fields` on
              validation errors, `retry_after` on 429s,
              `credits_used`/`credits_remaining` on billing-adjacent failures —
              documented on the responses that carry them.
            required:
              - type
              - title
              - status
              - code
            properties:
              type:
                type: string
                format: uri
                description: Stable documentation URI for this failure.
                examples:
                  - https://iotools.cloud/docs/errors/invalid_api_key
              title:
                type: string
                description: Short human-readable summary of the failure.
                examples:
                  - Invalid API key
              status:
                type: integer
                description: HTTP status code, matching the response's own status.
              code:
                type: string
                description: >-
                  Stable machine-readable error code — branch on this, not
                  `title`.
                enum:
                  - invalid_api_key
              detail:
                type: string
                description: Human explanation of this occurrence.
              request_id:
                type: string
                description: Correlation id, also sent as x-request-id.
          example:
            type: https://iotools.cloud/docs/errors/invalid_api_key
            title: Invalid API key
            status: 401
            code: invalid_api_key
            detail: 'Provide ''Authorization: Bearer <key>''.'
            request_id: e4042b29-8f1e-4c7a-9b52-6f0d1a3c7e11
    InsufficientCredits:
      description: Monthly credit allowance exhausted.
      content:
        application/problem+json:
          schema:
            type: object
            description: >-
              RFC 9457 problem document, served as application/problem+json.
              Branch on `code`; `title` is human prose and may be reworded
              without notice. Some failures add extension members — `fields` on
              validation errors, `retry_after` on 429s,
              `credits_used`/`credits_remaining` on billing-adjacent failures —
              documented on the responses that carry them.
            required:
              - type
              - title
              - status
              - code
            properties:
              type:
                type: string
                format: uri
                description: Stable documentation URI for this failure.
                examples:
                  - https://iotools.cloud/docs/errors/insufficient_credits
              title:
                type: string
                description: Short human-readable summary of the failure.
                examples:
                  - Insufficient credits
              status:
                type: integer
                description: HTTP status code, matching the response's own status.
              code:
                type: string
                description: >-
                  Stable machine-readable error code — branch on this, not
                  `title`.
                enum:
                  - insufficient_credits
              detail:
                type: string
                description: Human explanation of this occurrence.
              request_id:
                type: string
                description: Correlation id, also sent as x-request-id.
              credits_used:
                type: integer
                description: Always 0 — a refused call charges nothing.
              credits_remaining:
                type: integer
                description: Credits left in the allowance — fewer than this call costs.
          example:
            type: https://iotools.cloud/docs/errors/insufficient_credits
            title: Insufficient credits
            status: 402
            code: insufficient_credits
            detail: This call costs 1 credit and 0 remain in this month's allowance.
            request_id: e4042b29-8f1e-4c7a-9b52-6f0d1a3c7e11
            credits_used: 0
            credits_remaining: 0
    ToolNotAllowed:
      description: Tool exists but has no API surface.
      content:
        application/problem+json:
          schema:
            type: object
            description: >-
              RFC 9457 problem document, served as application/problem+json.
              Branch on `code`; `title` is human prose and may be reworded
              without notice. Some failures add extension members — `fields` on
              validation errors, `retry_after` on 429s,
              `credits_used`/`credits_remaining` on billing-adjacent failures —
              documented on the responses that carry them.
            required:
              - type
              - title
              - status
              - code
            properties:
              type:
                type: string
                format: uri
                description: Stable documentation URI for this failure.
                examples:
                  - https://iotools.cloud/docs/errors/tool_not_allowed
              title:
                type: string
                description: Short human-readable summary of the failure.
                examples:
                  - Tool not available over the API
              status:
                type: integer
                description: HTTP status code, matching the response's own status.
              code:
                type: string
                description: >-
                  Stable machine-readable error code — branch on this, not
                  `title`.
                enum:
                  - tool_not_allowed
              detail:
                type: string
                description: Human explanation of this occurrence.
              request_id:
                type: string
                description: Correlation id, also sent as x-request-id.
          example:
            type: https://iotools.cloud/docs/errors/tool_not_allowed
            title: Tool not available over the API
            status: 403
            code: tool_not_allowed
            detail: >-
              "Background Remover" is available on iotools.cloud but has no API
              endpoint.
            request_id: e4042b29-8f1e-4c7a-9b52-6f0d1a3c7e11
    ToolNotFound:
      description: No such tool.
      content:
        application/problem+json:
          schema:
            type: object
            description: >-
              RFC 9457 problem document, served as application/problem+json.
              Branch on `code`; `title` is human prose and may be reworded
              without notice. Some failures add extension members — `fields` on
              validation errors, `retry_after` on 429s,
              `credits_used`/`credits_remaining` on billing-adjacent failures —
              documented on the responses that carry them.
            required:
              - type
              - title
              - status
              - code
            properties:
              type:
                type: string
                format: uri
                description: Stable documentation URI for this failure.
                examples:
                  - https://iotools.cloud/docs/errors/tool_not_found
              title:
                type: string
                description: Short human-readable summary of the failure.
                examples:
                  - Tool not found
              status:
                type: integer
                description: HTTP status code, matching the response's own status.
              code:
                type: string
                description: >-
                  Stable machine-readable error code — branch on this, not
                  `title`.
                enum:
                  - tool_not_found
              detail:
                type: string
                description: Human explanation of this occurrence.
              request_id:
                type: string
                description: Correlation id, also sent as x-request-id.
          example:
            type: https://iotools.cloud/docs/errors/tool_not_found
            title: Tool not found
            status: 404
            code: tool_not_found
            detail: No tool with that slug. See GET /v1/tools/list.
            request_id: e4042b29-8f1e-4c7a-9b52-6f0d1a3c7e11
    PayloadTooLarge:
      description: Body too large.
      content:
        application/problem+json:
          schema:
            type: object
            description: >-
              RFC 9457 problem document, served as application/problem+json.
              Branch on `code`; `title` is human prose and may be reworded
              without notice. Some failures add extension members — `fields` on
              validation errors, `retry_after` on 429s,
              `credits_used`/`credits_remaining` on billing-adjacent failures —
              documented on the responses that carry them.
            required:
              - type
              - title
              - status
              - code
            properties:
              type:
                type: string
                format: uri
                description: Stable documentation URI for this failure.
                examples:
                  - https://iotools.cloud/docs/errors/payload_too_large
              title:
                type: string
                description: Short human-readable summary of the failure.
                examples:
                  - Payload too large
              status:
                type: integer
                description: HTTP status code, matching the response's own status.
              code:
                type: string
                description: >-
                  Stable machine-readable error code — branch on this, not
                  `title`.
                enum:
                  - payload_too_large
              detail:
                type: string
                description: Human explanation of this occurrence.
              request_id:
                type: string
                description: Correlation id, also sent as x-request-id.
          example:
            type: https://iotools.cloud/docs/errors/payload_too_large
            title: Payload too large
            status: 413
            code: payload_too_large
            detail: Request body exceeds this tool's size limit.
            request_id: e4042b29-8f1e-4c7a-9b52-6f0d1a3c7e11
    RateLimited:
      description: Per-minute rate limit exceeded.
      headers:
        Retry-After:
          description: Seconds to wait before retrying (RFC 9110 delta-seconds).
          schema:
            type: integer
      content:
        application/problem+json:
          schema:
            type: object
            description: >-
              RFC 9457 problem document, served as application/problem+json.
              Branch on `code`; `title` is human prose and may be reworded
              without notice. Some failures add extension members — `fields` on
              validation errors, `retry_after` on 429s,
              `credits_used`/`credits_remaining` on billing-adjacent failures —
              documented on the responses that carry them.
            required:
              - type
              - title
              - status
              - code
            properties:
              type:
                type: string
                format: uri
                description: Stable documentation URI for this failure.
                examples:
                  - https://iotools.cloud/docs/errors/rate_limited
              title:
                type: string
                description: Short human-readable summary of the failure.
                examples:
                  - Rate limit exceeded
              status:
                type: integer
                description: HTTP status code, matching the response's own status.
              code:
                type: string
                description: >-
                  Stable machine-readable error code — branch on this, not
                  `title`.
                enum:
                  - rate_limited
              detail:
                type: string
                description: Human explanation of this occurrence.
              request_id:
                type: string
                description: Correlation id, also sent as x-request-id.
              retry_after:
                type: integer
                description: >-
                  Seconds until the window resets — the same value as the
                  `Retry-After` header.
          example:
            type: https://iotools.cloud/docs/errors/rate_limited
            title: Rate limit exceeded
            status: 429
            code: rate_limited
            detail: Too many requests. Retry in 30s.
            request_id: e4042b29-8f1e-4c7a-9b52-6f0d1a3c7e11
            retry_after: 30
    ToolFailed:
      description: Tool failed to run.
      content:
        application/problem+json:
          schema:
            type: object
            description: >-
              RFC 9457 problem document, served as application/problem+json.
              Branch on `code`; `title` is human prose and may be reworded
              without notice. Some failures add extension members — `fields` on
              validation errors, `retry_after` on 429s,
              `credits_used`/`credits_remaining` on billing-adjacent failures —
              documented on the responses that carry them.
            required:
              - type
              - title
              - status
              - code
            properties:
              type:
                type: string
                format: uri
                description: Stable documentation URI for this failure.
                examples:
                  - https://iotools.cloud/docs/errors/processing_error
                  - https://iotools.cloud/docs/errors/internal_error
              title:
                type: string
                description: Short human-readable summary of the failure.
                examples:
                  - Tool failed to run
                  - Internal error
              status:
                type: integer
                description: HTTP status code, matching the response's own status.
              code:
                type: string
                description: >-
                  Stable machine-readable error code — branch on this, not
                  `title`.
                enum:
                  - processing_error
                  - internal_error
              detail:
                type: string
                description: Human explanation of this occurrence.
              request_id:
                type: string
                description: Correlation id, also sent as x-request-id.
              credits_used:
                type: integer
                description: >-
                  Always 0 on `processing_error` — a failed run is refunded,
                  floor included.
              credits_remaining:
                type: integer
                description: >-
                  Credits left after the refund. Absent when metering is
                  disabled.
          example:
            type: https://iotools.cloud/docs/errors/processing_error
            title: Tool failed to run
            status: 500
            code: processing_error
            detail: The tool failed to run. Please try again.
            request_id: e4042b29-8f1e-4c7a-9b52-6f0d1a3c7e11
            credits_used: 0
    ToolDisabled:
      description: Tool temporarily disabled.
      content:
        application/problem+json:
          schema:
            type: object
            description: >-
              RFC 9457 problem document, served as application/problem+json.
              Branch on `code`; `title` is human prose and may be reworded
              without notice. Some failures add extension members — `fields` on
              validation errors, `retry_after` on 429s,
              `credits_used`/`credits_remaining` on billing-adjacent failures —
              documented on the responses that carry them.
            required:
              - type
              - title
              - status
              - code
            properties:
              type:
                type: string
                format: uri
                description: Stable documentation URI for this failure.
                examples:
                  - https://iotools.cloud/docs/errors/tool_disabled
                  - https://iotools.cloud/docs/errors/api_unconfigured
              title:
                type: string
                description: Short human-readable summary of the failure.
                examples:
                  - Tool temporarily disabled
                  - API not configured
              status:
                type: integer
                description: HTTP status code, matching the response's own status.
              code:
                type: string
                description: >-
                  Stable machine-readable error code — branch on this, not
                  `title`.
                enum:
                  - tool_disabled
                  - api_unconfigured
              detail:
                type: string
                description: Human explanation of this occurrence.
              request_id:
                type: string
                description: Correlation id, also sent as x-request-id.
          example:
            type: https://iotools.cloud/docs/errors/tool_disabled
            title: Tool temporarily disabled
            status: 503
            code: tool_disabled
            detail: This tool is temporarily unavailable. Try again shortly.
            request_id: e4042b29-8f1e-4c7a-9b52-6f0d1a3c7e11
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: iot_live_…

````