> ## Documentation Index
> Fetch the complete documentation index at: https://docs.linkmodel.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# API Integration

> Endpoint selection, schemas, SDK usage, and request formats.

## Which endpoint should I call?

Use `POST /image-generation` for image models and `POST /video-generation` for video models. Use `POST /chat/completions` for OpenAI-compatible chat requests and `POST /messages` for Anthropic-compatible messages.

## How do I know which parameters a model supports?

Open the model page in the API Reference. Each model page defines required fields, optional fields, enum values, defaults, descriptions, and example requests.

## Can I reuse existing OpenAI or Anthropic SDKs?

For chat-compatible endpoints, yes. Use `POST /chat/completions` for OpenAI-style integrations and `POST /messages` for Anthropic-style integrations. Image and video generation use LinkModel's task-based endpoints.

## Why are some fields model-specific?

Providers expose different controls. LinkModel keeps each model schema explicit so unsupported fields are not silently accepted.

## What content type should I send?

Use JSON:

```bash theme={null}
Content-Type: application/json
```
