58ELLISEKIZ
All ModelsImageVideoAudioChatCompare
Get started
Getting startedIntroductionQuickstart
AuthenticationCreate an appAPI tokens
GenerationsList models and pricesSubmit a generationPoll until done
ReferenceRouting and BYOKBillingErrors
58 ElliSekiz LLC · Wyoming, USAellisekiz.aiModelsCompareDocsBlogTermsPrivacyRefunds
Getting started

Quickstart

Four requests from an empty terminal to a finished image. Each step has its own page with the full detail; this is the short path.

1. Get a token

Sign in, add balance, then create a token on the account page under API Tokens. The plaintext token is shown once — store it as an environment variable.

Shell
export ELLISEKIZ_TOKEN=esk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

2. Find a model

Request
curl https://ellisekiz.ai/api/v1/models \
  -H "Authorization: Bearer $ELLISEKIZ_TOKEN"

Each entry lists the providers that serve it and the USD price per generation. Pick an id — for example flux-schnell.

3. Submit a generation

Request
curl -X POST https://ellisekiz.ai/api/v1/generations \
  -H "Authorization: Bearer $ELLISEKIZ_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux-schnell",
    "prompt": "a lighthouse at dawn, oil painting"
  }'
202 Accepted
{
  "id": "gen_01j...",
  "status": "pending",
  "provider": "fal",
  "credits": 3000,
  "poll": "/api/v1/generations/gen_01j..."
}

4. Poll until done

Request
curl https://ellisekiz.ai/api/v1/generations/gen_01j... \
  -H "Authorization: Bearer $ELLISEKIZ_TOKEN"
200 OK
{
  "id": "gen_01j...",
  "status": "completed",
  "provider": "fal",
  "output": "https://.../image.jpg"
}
Poll every 2–3 seconds. Your balance is only debited when a generation reaches completed; failed generations cost nothing.
← PreviousIntroductionNext →Create an app