Skip to content
English

Quick Start

Get a first HiAPI request working in about 3 minutes.

  1. Get your API key

    Sign up at hiapi.ai, then go to Dashboard → API Keys to create a new key for your test environment.

  2. Add funds

    Go to Dashboard → Billing to add funds. New accounts usually receive enough trial balance to verify the flow.

  3. Make your first request

    Terminal window
    curl https://api.hiapi.ai/v1/images/generations \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
    "model": "qwen-image-2.0",
    "prompt": "editorial-style product photo of a matte black kettle on a walnut table, warm morning light",
    "size": "1024x1024"
    }'
  4. View the result

    The response contains the generated image URL. Once that works, move model and prompt settings into your app config.