API Platform

Market Quickstart

Get your first ModKie API call in minutes — market, API key, createTask, and recordInfo.

Market Quickstart

To start calling ModKie from code, browse the model market, create an API key, submit createTask, and poll recordInfo until the job succeeds or fails. The market at /market lists models with credit costs; each Playground at /playground/{slug} lets you validate inputs before copying the JSON payload to production.

Steps

  1. Browse models at /market or GET /api/ai/models?surface=market
  2. Open a model Playground at /playground/{slug}
  3. Create an API key at /settings/apikeys
  4. Call the unified jobs API
curl -X POST "https://modkie.com/api/v1/jobs/createTask" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "nano-banana-2",
    "input": { "prompt": "A studio product photo of headphones" }
  }'

Poll:

curl "https://modkie.com/api/v1/jobs/recordInfo?taskId=TASK_ID" \
  -H "Authorization: Bearer YOUR_API_KEY"