✨ One endpoint · 30 models · fixed Credit pricing

Generate media
through one API

Image and video models behind a single contract — transparent Credit pricing, async jobs, refunds on failure.

Fixed pricing Reliable delivery Easy integration

3 minute integration

One HTTP contract for every model

Queue a job, poll status, collect the output — the same JSON shape across the entire catalog. cURL, Python, and Node examples ship next to every model.

Read the docs
terminal · bash
curl -X POST "https://api.artany.ai/v1/images/generations" \
  -H "Authorization: Bearer $ARTANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"artany-gpt-image-2","count":1,"prompt":"A cinematic coastal village","resolution":"1k","aspect_ratio":"16:9"}'
Prompt for your AI coding agent
Integrate Artany API (https://api.artany.ai) into this project for AI image/video generation.

1. Read https://api.artany.ai/llms.txt for the full model catalog and endpoint list.
2. Auth: send "Authorization: Bearer $ARTANY_API_KEY" (key from https://api.artany.ai/api-keys).
3. Create jobs with POST https://api.artany.ai/v1/images/generations (or /v1/videos/generations),
   body: {"model": "<model id>", "prompt": "..."} plus model-specific options from
   GET https://api.artany.ai/v1/models/{model}. Always send a unique Idempotency-Key header.
4. Poll GET https://api.artany.ai/v1/jobs/{jobId} every 2-3s until status is "succeeded" or "failed",
   then use output.urls. Billing is fixed Credit pricing, auto-refunded on failure.

Wire the API key through an environment variable named ARTANY_API_KEY.

Built for AI agents

Let your coding agent do the integration

Paste one prompt into Claude Code, Cursor, or any coding agent and it wires up Artany API on its own — the machine-readable catalog at /llms.txt keeps it grounded in the live model list and real prices.

Why teams choose Artany API

One platform, clear pricing, honest billing — so you can focus on shipping.

Fixed catalog pricing

The listed Credit price is exactly what a run settles for — no hidden multipliers.

Refund on failure

Credits are frozen on submit and fully refunded whenever a generation fails.

One response contract

Every model returns the same job shape — parse once, extend to new models freely.

Async job queue

Submit, poll status, and fetch results without blocking your application servers.

Personal & team spaces

Personal Credits for individuals; shared wallets, roles, and invites for teams.

Results on our CDN

Outputs are mirrored to our CDN so links stay stable and fast to serve.

FAQ

How does billing work?

Every model lists a fixed Credit price (1 Credit = $0.01). The price is frozen when you submit a job, settled on success, and fully refunded on failure.

Do Credits expire?

No. Credits are one-time purchases with no subscription and no expiry.

How do I integrate?

Create an API key in the console, POST to /v1 images or videos endpoints, then poll the job until it succeeds. cURL, Python, and Node examples ship with every model.

Can my team share a balance?

Yes — create a team space to share a wallet, invite members by email, and manage roles and keys together.

Ready to build?

Create a key, top up Credits, and ship your first generation today.