Steps to get started with the Higgsfield API:
1

Account

Create an Account on cloud.higgsfield.ai.
2

API Key

API Key creationGo to the API Keys page and create your first API key. API Keys are generated and shown only once. Be sure to store them securely.
3

Top-up credits

Next, add credits to your account to begin making requests. Payments are processed through Stripe.

First Requests

Now, generate an image using your prompt.
soul1

Prompt: Realistic forest view with mountains in a twilight
soul2

Prompt: Realistic forest view with mountains with snow
Insert your credentials and use your own prompts or the examples provided.
curl --location 'https://platform.higgsfield.ai/v1/text2image/soul' \
--header 'hf-api-key: {your_api_key}' \
--header 'hf-secret: {your_api_key_secret}' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
   "params": {
       "prompt": "{{ your prompt }}",
       "width_and_height": "1696x960",
       "enhance_prompt": true,
       "quality": "720p",
       "batch_size": 1
   }
}'