Quick start

Setup Higgsfield API by one promptinClaude Code

1

Send set up prompt to your agent

Higgsfield API for agents
Higgsfield provides an API for generating and managing images, videos, characters, and other visual assets.
Use this guide when you need to select a model, prepare inputs, estimate cost, start a generation, monitor its progress, or retrieve the final output.

Core workflow
1. List available models and their capabilities.
2. Upload or reference the required assets.
3. Validate the request and estimate its cost.
4. Create a generation.
5. Monitor the generation or wait for a webhook.
6. Retrieve the completed output assets.

Authentication
Ask the user to provide their Higgsfield API key through a secure environment variable. Never expose an API key in client-side code, logs, prompts, or generated content.

Use the official Higgsfield API documentation at https://docs.higgsfield.ai as the source of truth for current endpoints, request schemas, model capabilities, pricing, and availability.
2

Create API key

Explore models and workflows