Skip to main content
1

Create an API key

Sign in to Havincy and open Profile → API & MCP (havincy.com/profile/developpeurs). Under API keys, name your key, choose its permissions and click Create key.
The full key (hv_live_…) is shown only once. Store it in a secret manager or an environment variable.
2

Check your account

The response contains your workspace, your credit balance and the permissions of the key.
3

Pick a model

Each model lists its id, its cost (credits_per_output) and its valid options (aspect ratios, resolutions, durations, voices).
4

Generate an image

With wait_seconds, the request waits up to that many seconds for the result. When the asset is completed, its url points to the hosted file.
5

Poll longer jobs

Videos usually take longer than the maximum wait (55 s). Poll the asset until its status is completed or failed:
See Async generation and polling.

Next steps

Generate videos

Encore effects

Connect ChatGPT or Claude