anoman
Guide

Image generation

Anoman Design — a guarded, OpenAI-images-compatible endpoint plus a full studio, both metered like any other usage.

The endpoint

POST /v1/images/generations

Generate images with an OpenAI-images-compatible call to POST /v1/images/generations using your API key. Two Flux models are on the allowlist; an unknown model returns 400.

ModelModeCost / imageLatency
flux-schnellFast (default)~$0.003~2.4s
flux-1.1-proQuality~$0.04~4.1s
curl https://api.anoman.io/v1/images/generations \
  -H "Authorization: Bearer anm-sk-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux-schnell",
    "prompt": "a ceramic coffee mug on a marble counter, morning light",
    "n": 1,
    "enhance": true,
    "style": "product-photo",
    "response_format": "b64_json"
  }'

Pass "response_format": "b64_json" to receive base64 image data, which you should do because the upstream Flux URLs are ephemeral; otherwise the response contains those short-lived URLs. n is limited per request, and a per-key cap of 100 images/day applies.

Enhance & styles

Prompt enhancement

Set enhance: true to run a cheap LLM art-director that rewrites your prompt for quality and strips 'AI slop'. The guardrail then re-runs on the enhanced prompt before it reaches Flux, so enhancement can never sneak unsafe content through.

Add an optional style preset to steer the look:

product-photoeditorialflat-illustration3d-rendercinematic

The response surfaces the rewritten prompt at _anoman.enhanced_prompt and a per-item revised_prompt so you can see exactly what was sent to the model.

Guardrails & limits

What's enforced

  • Content moderation and an NSFW guard (English + Bahasa Indonesia) run on the prompt; blocked prompts never reach Flux.
  • A per-key cap of 100 images/day and a 90-second per-generation timeout apply.
  • A provider-cost circuit breaker protects against runaway spend, and every generation is metered like any usage.
  • The endpoint is not paid-tier-gated, but it draws down your account's usage and quota.
Metered like any call. Image spend counts against your account's usage — the same balance and quota that cover text completions, with per-user attribution.

The studio

A designer UI

Prefer a UI? The Design studio lives at studio.anoman.io and inside the dashboard at /dashboard/design — a prompt composer with style chips, Fast/Quality toggle, 1–4 images, palettes and boards, per-image cost hints, a token-balance pill, aspect ratio, and download.

Both surfaces call the same guarded endpoint as your own user, so the per-user daily cap and metering apply identically whether you use the API or the studio.

Open the studio

Compose prompts, pick a style, and generate — all guarded and metered through your account.