Skip to main content
APIAny.AI gives developers one gateway for production AI models across image generation, video generation, chat, and multimodal workflows. The public API stays stable while APIAny.AI handles model execution, billing, task history, and response formatting behind a consistent developer experience.

Unified model access

Call public model IDs with one API key and one stable API surface.

Async media tasks

Use task IDs for long-running image, video, and future audio generation jobs.

OpenAI-compatible chat

Start with /v1/chat/completions, then add Anthropic or Gemini-compatible endpoints when needed.

Credits and traceability

Every request can be tied to credits, task history, normalized results, and usage records.

Base URL

Production API base URL:
https://api.apiany.ai
Local development, when running the Next.js app directly:
http://localhost:3000/api

Public API shape

APIAny.AI exposes a small set of public calling patterns:
  • Chat: /v1/chat/completions
  • Anthropic-compatible messages: /v1/messages
  • Gemini-compatible content generation: /v1beta/models/{model}:generateContent
  • Image generation: /v1/images/generations
  • Video generation: /v1/videos/generations
  • Task lookup: /v1/tasks/{task_id}
Long-running media endpoints are asynchronous by default. Synchronous variants exist for simple integrations, but production systems should prefer async creation plus task polling.