Fastrouter Images API

The Images API from Fastrouter — 2 operation(s) for images.

Business capability
Generative Media AE-110.20

Operations 2

POST /api/v1/images/generations Generate images #
POST /api/v1/images/edits Edit images #

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/fastrouter:fastrouter-images-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

fastrouter-images-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FastRouter Images API
  version: 1.0.0
  description: OpenAI-compatible LLM gateway API for routing requests across multiple model providers. Model IDs use the provider/model-name format and may support documented suffixes such as :online for web search and :flex for Flex Pricing on compatible models.
servers:
- url: https://api.fastrouter.ai
  description: Production API origin
security:
- bearerAuth: []
tags:
- name: Images
paths:
  /api/v1/images/generations:
    post:
      summary: Generate images
      externalDocs:
        url: https://docs.fastrouter.ai/api-reference/image/image-generation
      requestBody:
        $ref: '#/components/requestBodies/JsonRequest'
      responses:
        '200':
          $ref: '#/components/responses/JsonResponse'
      tags:
      - Images
      operationId: postApiV1ImagesGenerations
      x-operation-id-source: derived
  /api/v1/images/edits:
    post:
      summary: Edit images
      externalDocs:
        url: https://docs.fastrouter.ai/api-reference/image/image-edit
      requestBody:
        $ref: '#/components/requestBodies/MultipartRequest'
      responses:
        '200':
          $ref: '#/components/responses/JsonResponse'
      tags:
      - Images
      operationId: postApiV1ImagesEdits
      x-operation-id-source: derived
components:
  responses:
    JsonResponse:
      description: JSON response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/JsonObject'
  schemas:
    JsonObject:
      type: object
      additionalProperties: true
  requestBodies:
    MultipartRequest:
      required: true
      content:
        multipart/form-data:
          schema:
            $ref: '#/components/schemas/JsonObject'
    JsonRequest:
      required: true
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/JsonObject'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
externalDocs:
  description: FastRouter API documentation
  url: https://docs.fastrouter.ai