Maginary Credit Check API

The credit-check API from Maginary — 1 operation(s) for credit-check.

GitHub OpenAPI

Operations 1

POST /credit-check/ Credit check create #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/maginary-ai:maginary-ai-credit-check-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

maginary-ai-credit-check-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Maginary Credit Check API
  description: Public API documentation for Maginary — AI image and video generation platform.
  version: v1
servers:
- url: https://app.maginary.ai/api
security:
- Basic: []
- Bearer: []
tags:
- name: credit-check
paths:
  /credit-check/:
    parameters: []
    post:
      operationId: credit-check_create
      description: Check credit cost for operations before creating a generation.
      responses:
        '200':
          description: Credit cost calculated successfully
          content:
            application/json:
              example:
                credits: 25
        '400':
          description: Invalid request or operation not supported
          content:
            application/json:
              example:
                error: parent_image_index and parent_generation_uuid must both be present or both absent
        '500':
          description: Internal server error during credit check
          content:
            application/json:
              example:
                error: 'Credit check failed: connection timeout'
      tags:
      - credit-check
      requestBody:
        content:
          application/json:
            schema:
              required:
              - prompt
              type: object
              properties:
                prompt:
                  description: The prompt for the generation (may contain image URLs)
                  type: string
                action_type:
                  description: Operation type (e.g., "generate", "img2img", "img2vid"). Auto-detected from prompt if not provided.
                  type: string
                parent_image_index:
                  description: Parent image index for follow-up actions (required together with parent_generation_uuid)
                  type: integer
                parent_generation_uuid:
                  description: Parent generation UUID for follow-up actions (required together with parent_image_index)
                  type: string
                timeout:
                  description: 'Request timeout in seconds (default: 10.0, max: 10.0)'
                  type: number
        required: true
      summary: Credit check create
      x-summary-source: derived
components:
  securitySchemes:
    Basic:
      type: http
      scheme: basic
    Bearer:
      type: apiKey
      name: Authorization
      in: header