v1.0 Stable API

Built for
autonomous systems.

Give your AI agents generation power with full cost awareness and execution control. 349 models, one API, transparent pricing.

Your agent should know the price.

Before executing, agents can simulate model cost, see platform cost, calculate total spend, and evaluate budget impact.

  • Simulate cost before execution
  • See exact cost per generation
  • Evaluate budget impact against caps
  • Choose model by cost or quality
POST /v1/image/generate
const result = await fetch("/v1/image/generate", {
method: "POST",
body: JSON.stringify({
prompt: "A cyberpunk cityscape",
quality: "economy",
})
});

// Response
{
"url": "https://media.fairstack.ai/...",
"model": "flux-schnell-t2i",
"cost": 0.003,
"currency": "USD"
}
Hard Caps

Budget enforcement is structural.

Three layers of spending controls. Every layer is a hard stop, not a suggestion.

Organization

Total spending cap across all projects and keys.

Project

Monthly budget per project. Hard stop when reached.

API Key

Per-request and total caps on individual keys.

Production-ready API.

Everything you need to integrate AI generation into your stack.

35+ v1 REST endpoints
MCP server for agent-native integration
API key authentication with scoped permissions
Per-request cost simulation before execution
Rate limiting and request tracing
Structured error responses with audit logging

Give your agents
execution power.