Now in early access

ArtAPI

Enterprise Image Generation API

OpenAI-compatible REST API for AI image generation. Connect your app to Flux, SDXL, and more — with pay-as-you-go pricing and no infrastructure to manage.

Get Started Read the Docs

Supported engines

flux/schnell flux/dev flux/pro sdxl sd3 + more

Everything you need to ship

A single API that handles the complexity of multiple image generation engines so you don't have to.

OpenAI-compatible API

Drop-in replacement for OpenAI's image API. Use the same endpoint structure and SDK you already know — just change the base URL.

Multiple engines

Access Flux Schnell, Flux Dev, Flux Pro, SDXL, SD3, and more through a single unified interface. Switch models with one parameter.

Pay-as-you-go

No monthly minimums. No seat licenses. Pay only for the images you generate — per-image pricing that scales with your usage.

Async & sync modes

Synchronous responses for simple integrations, async polling for high-throughput workloads. Both modes available on every endpoint.

Up and running in minutes

Standard HTTP — no SDK required. Works with any language or framework.

curl
curl https://app.artapi.ai/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "fal-ai/flux/schnell",
    "prompt": "a beautiful sunset over mountains",
    "n": 1,
    "size": "1024x1024"
  }'

The API follows the OpenAI images endpoint spec. Authenticate with a Bearer token, pass a model name and prompt — get back a URL to your generated image.

Supports all standard parameters: n, size, quality, response_format, and model-specific extensions.

Python Node.js Go Ruby cURL Any HTTP client

Pay only for what you use

Sign up for free. No credit card required to start. Prices vary by model — faster models cost less.

Fast

Flux Schnell

Best for prototyping & high volume


  • 512×512$0.003
  • 1024×1024$0.005
  • 2048×2048$0.012

Premium

Flux Pro / SD3

Maximum quality & detail


  • 512×512$0.030
  • 1024×1024$0.055
  • 2048×2048$0.100

All prices per image generated. Volume discounts available. Sign up free and get started today.

Start generating today

Create an account, get an API key, and make your first request in under 5 minutes.

Get Started — it's free