Get Replicate Model Input Schema
replicate_get_model_schemaRetrieve metadata and OpenAPI input/output schemas for a Replicate model to understand required fields before running inference.
Instructions
Retrieve metadata and the OpenAPI input/output schema for a specific Replicate model. Use this before replicate_run_model to know which fields the model accepts and what they mean.
Args:
model (string): "owner/name" or "owner/name:version".
Returns structuredContent: { "model": string, "description": string | undefined, "visibility": string | undefined, "latest_version_id": string | undefined, "input_schema": object | undefined, // OpenAPI schema for inputs "output_schema": object | undefined, // OpenAPI schema for outputs "example_url": string | undefined // Replicate page with examples }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model identifier in "owner/name" or "owner/name:version" form. |