Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| REPLICATE_API_TOKEN | Yes | Your Replicate API key (get one at https://replicate.com/account) |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_models | List available models on Replicate with optional filtering by owner. |
| search_models | Search for models using semantic search. |
| list_collections | List available model collections on Replicate. |
| get_collection_details | Get detailed information about a specific collection. |
| list_hardware | List available hardware options for running models. |
| list_templates | List all available templates with their schemas. |
| validate_template_parameters | Validate parameters against a template schema. |
| create_prediction | Create a new prediction using a specific model version on Replicate. Args:
input: Model input parameters including version or model details
confirmed: Whether the user has explicitly confirmed the generation
Returns:
Prediction details if confirmed, or a confirmation request if not
|
| get_prediction | Get the status and results of a prediction. |
| cancel_prediction | Cancel a running prediction. |
| get_webhook_secret | Get the signing secret for verifying webhook requests. |
| verify_webhook | Verify that a webhook request came from Replicate using HMAC-SHA256. Args:
payload: The webhook payload to verify
signature: The signature from the X-Replicate-Signature header
secret: The webhook signing secret from get_webhook_secret
Returns:
True if signature is valid, False otherwise
|
| search_available_models | Search for available models matching the query. Args:
query: Search query describing the desired model
style: Optional style to filter by
Returns:
List of matching models with scores
|
| get_model_details | Get detailed information about a specific model. Args:
model_id: Model identifier in format owner/name
Returns:
Detailed model information
|
| generate_image | Generate an image using the specified parameters. |
| subscribe_to_generation | Handle resource subscription requests. |
| unsubscribe_from_generation | Handle resource unsubscribe requests. |
| open_image_with_system | Open an image URL with the system's default application. Args:
image_url: URL of the image to open
Returns:
Dict containing status of the operation
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| text_to_image | Generate an image from text using available models. |
| image_to_image | Transform an existing image using various models. |
| model_selection | Help choose the right model for a specific task. |
| parameter_help | Get help with model parameters and templates. |
| after_generation | Prompt shown after starting an image generation. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| templates://list | |
| generations://list | |
| models://popular |