v1

latestOpenAPI 3.0.32026-07-26451985.7 KB

Anthropic

Send requests to any Anthropic model by specifying the {model} placeholder in the path.

post/models/v2/anthropic/{model}

Path parameters

modelstring required

The specific Anthropic model to interact with (e.g., claude-3-haiku-20240307).

Request body

textstring

Input text for NLP tasks.

urlstring uri

URL to image/audio/video.

base64string

Base64-encoded image/audio/video.

questionstring

Question (for QA tasks).

contextstring

Context paragraph (for QA tasks).

candidate_labelsstring[]

Candidate labels (for zero-shot).

streamboolean

Enable/disable text streaming.

jsonboolean

Stream media instead of JSON.

Response

Successful response from the model.

errorstring

Null if everything is fine

All 45 operations