Replicate
Run image, video, audio and text models in the cloud
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API token (r8_…)SecretRequired
Where to find them
- At replicate.com/account/api-tokens create a token and copy it.
- Set up billing at replicate.com/account/billing: each run is charged according to the model and the compute time.
Tools (1)
Replicate API request
REPLICATE_SEND_REQUESTAuthenticated call to the Replicate API (https://api.replicate.com/v1). Any endpoint of the API is allowed. Examples: GET /search?query=…, GET /models/{owner}/{model}, POST /models/{owner}/{model}/predictions {"input": {…}} (with the Prefer: wait header it waits up to 60 s for the result), GET /predictions/{id} (status and URL of the result), POST /predictions/{id}/cancel, GET /collections.
Required scopes
No scopes required
Input
Replicate API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

