Flux AI Models API

The Models API from Flux AI — 2 operation(s) for models.

GitHub OpenAPI

Operations 2

GET /api/v1/ai/models Discover available models and their parameters #
POST /api/v1/ai/pricing/estimate Estimate credits before generation #

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/fluxaipro-art:fluxaipro-art-models-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

fluxaipro-art-models-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fluxaipro Art Models API
  version: 1.1.0
  contact:
    name: Flux AI Support
    email: support@fluxaipro.art
    url: http://localhost:3001/contact
  description: 'Operations tagged Models across 2 of this provider''s published API definitions: fluxaipro-art-openapi.json, fluxaipro-art-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:3001
  description: Flux AI production
security:
- bearerAuth: []
tags:
- name: Models
paths:
  /api/v1/ai/models:
    get:
      tags:
      - Models
      operationId: listAiModels
      summary: Discover available models and their parameters
      security: []
      parameters:
      - name: modality
        in: query
        schema:
          type: string
          enum:
          - image
          - video
          - audio
          - text
      responses:
        '200':
          description: Models
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelListResponse'
        '400':
          description: Invalid request or insufficient credits (code 4407)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing, invalid, expired or revoked credential
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Insufficient permission
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Task not found or not owned by you
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit; retry with backoff
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Temporarily unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    servers:
    - url: http://localhost:3001
      description: Flux AI production
  /api/v1/ai/pricing/estimate:
    post:
      tags:
      - Models
      operationId: estimateCredits
      summary: Estimate credits before generation
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EstimateRequest'
      responses:
        '200':
          description: Estimate; final settlement follows model billing rules
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EstimateResponse'
        '400':
          description: Invalid request or insufficient credits (code 4407)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing, invalid, expired or revoked credential
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Insufficient permission
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Task not found or not owned by you
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit; retry with backoff
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Temporarily unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    servers:
    - url: http://localhost:3001
      description: Flux AI production
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        code:
          type:
          - integer
          - string
        message:
          type: string
        data: {}
      additionalProperties: true
    ModelListResponse:
      type: object
      properties:
        models:
          type: array
          items:
            type: object
            properties:
              model:
                type: string
              displayName:
                type: string
              modality:
                type: string
              creditCost:
                type: number
              paramSchema: {}
              pricingRule: {}
            additionalProperties: true
    EstimateResponse:
      type: object
      properties:
        estimatedCredits:
          type:
          - number
          - 'null'
      additionalProperties: true
    EstimateRequest:
      type: object
      required:
      - modality
      - params
      properties:
        model:
          type: string
          description: Use the model identifier returned by GET /api/v1/ai/models.
        displayName:
          type: string
        modality:
          type: string
          enum:
          - image
          - video
          - audio
          - text
        subType:
          type: string
        params:
          type: object
          additionalProperties: true
          description: Parameters must satisfy the selected model's paramSchema.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Flux AI API key
      description: Create a key in Account settings > API keys (open from /developers). Read requires generations:read. Create, retry and cancel require generations:write. Keys access only their owner's tasks.
    mcpOAuth:
      type: http
      scheme: bearer
      bearerFormat: Clerk OAuth access token
      description: Discover OAuth at /.well-known/oauth-protected-resource/api/mcp. Existing Flux AI API keys are also accepted by MCP.
externalDocs:
  url: http://localhost:3001/developers
  description: Developer guide
x-refined-from:
- fluxaipro-art-openapi.json
- fluxaipro-art-openapi.yaml