# API Reference

This package routes agent workflows to EvoLink model APIs.

## Image Generation

- Endpoint: `POST /v1/images/generations`
- Default model in smoke tests: `gpt-image-2`
- Required auth: `Authorization: Bearer $EVOLINK_API_KEY`

## Video Generation

- Endpoint: `POST /v1/videos/generations`
- Default model in smoke tests: `seedance-2.0-text-to-video`
- Required auth: `Authorization: Bearer $EVOLINK_API_KEY`

## Task Polling

- Endpoint: `GET /v1/tasks/{task_id}`
- Poll until the task reaches a terminal completed or failed status.
