मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट77k · #2375

Replicate Automation

यह क्या करती है

यह टूल Replicate के AI models का इस्तेमाल करके इमेज, टेक्स्ट, ऑडियो और वीडियो बनाने देता है। आप इन models को चला सकते हैं, उनके काम को समझ सकते हैं, उन्हें फाइलें भेज सकते हैं और जो बन चुका है उसका हिसाब रख सकते हैं।

कब इस्तेमाल करें

  • ✓टेक्स्ट के विवरण से इमेज बनाना।
  • ✓language model से टेक्स्ट जनरेट करना।
  • ✓इस्तेमाल से पहले किसी AI model की जानकारी देखना।

Skill का लिंक

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/replicate-automation/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/replicate-automation/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“'stability-ai/stable-diffusion-xl-base-1.0' model का इस्तेमाल करके एक बिल्ली की इमेज बनाओ, prompt है 'सोफ़े पर सोती हुई एक प्यारी बिल्ली'।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

आप अपना Replicate अकाउंट जोड़ते हैं, फिर AI से किसी खास model को चलाने, उसके लिए ज़रूरी फाइलें अपलोड करने या model की जानकारी देखने को कह सकते हैं।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Replicate Automation

Automate your Replicate AI model workflows -- run predictions on any public model (image generation, LLMs, audio, video), upload input files, inspect model schemas and documentation, list model versions, and track prediction history.

Toolkit docs: composio.dev/toolkits/replicate


Setup

  1. Add the Composio MCP server to your client: https://rube.app/mcp
  2. Connect your Replicate account when prompted (API token authentication)
  3. Start using the workflows below

Core Workflows

1. Get Model Details and Schema

Use REPLICATE_MODELS_GET to inspect a model's input/output schema before running predictions.

Tool: REPLICATE_MODELS_GET
Inputs:
  - model_owner: string (required) -- e.g., "meta", "black-forest-labs", "stability-ai"
  - model_name: string (required) -- e.g., "meta-llama-3-8b-instruct", "flux-1.1-pro"

Important: Each model has unique input keys and types. Always check the openapi_schema from this response before constructing prediction inputs.

2. Run a Prediction

Use REPLICATE_MODELS_PREDICTIONS_CREATE to run inference on any model with optional synchronous waiting and webhooks.

Tool: REPLICATE_MODELS_PREDICTIONS_CREATE
Inputs:
  - model_owner: string (required) -- e.g., "meta", "black-forest-labs"
  - model_name: string (required) -- e.g., "flux-1.1-pro", "sdxl"
  - input: object (required) -- model-specific inputs, e.g., { "prompt": "A sunset over mountains" }
  - wait_for: integer (1-60 seconds, optional) -- synchronous wait for completion
  - cancel_after: string (optional) -- max execution time, e.g., "300s", "5m"
  - webhook: string (optional) -- HTTPS URL for async completion notifications
  - webhook_events_filter: array (optional) -- ["start", "output", "logs", "completed"]

Sync vs Async: Use wait_for (1-60s) for fast models. For long-running jobs, omit it and use webhooks or poll via REPLICATE_PREDICTIONS_LIST.

3. Upload Files for Model Input

Use REPLICATE_CREATE_FILE to upload images, documents, or other binary inputs that models need.

Tool: REPLICATE_CREATE_FILE
Inputs:
  - content: string (required) -- base64-encoded file content
  - filename: string (required) -- e.g., "input.png", "audio.wav" (max 255 bytes UTF-8)
  - content_type: string (default "application/octet-stream") -- MIME type
  - metadata: object (optional) -- custom JSON metadata

4. Read Model Documentation

Use REPLICATE_MODELS_README_GET to access a model's README in Markdown format for detailed usage instructions.

Tool: REPLICATE_MODELS_README_GET
Inputs:
  - model_owner: string (required)
  - model_name: string (required)

5. List Model Versions

Use REPLICATE_MODELS_VERSIONS_LIST to see all available versions of a model, sorted newest first.

Tool: REPLICATE_MODELS_VERSIONS_LIST
Inputs:
  - model_owner: string (required)
  - model_name: string (required)

6. Track Prediction History and Files

Use REPLICATE_PREDICTIONS_LIST to retrieve prediction history, and REPLICATE_FILES_GET/REPLICATE_FILES_LIST to manage uploaded files.

Tool: REPLICATE_PREDICTIONS_LIST
  - Lists all predictions for the authenticated user with pagination

Tool: REPLICATE_FILES_LIST
  - Lists uploaded files, most recent first

Tool: REPLICATE_FILES_GET
  - Get details of a specific file by ID

Known Pitfalls

Pitfall Detail
Model-specific input keys Each model has unique input keys and types. Using the wrong key causes validation errors. Always call REPLICATE_MODELS_GET first to check the openapi_schema.
File upload encoding REPLICATE_CREATE_FILE requires base64-encoded content. Binary files treated as text (UTF-8) will fail with decode errors.
Public vs deployment paths Public models must be run via REPLICATE_MODELS_PREDICTIONS_CREATE. Using deployment-oriented paths causes HTTP 404 failures.
Sync wait limits wait_for supports 1-60 seconds only. Long-running jobs need async handling via webhooks or polling REPLICATE_PREDICTIONS_LIST.
Image model constraints Image models like flux-1.1-pro have specific constraints (e.g., max width/height 1440px, valid aspect ratios). Check the model schema first.
Stale file references Heavy usage creates many uploads. Routinely check REPLICATE_FILES_LIST to avoid using stale file_id references.

Quick Reference

…

अक्सर पूछे जाने वाले सवाल

Replicate अकाउंट कैसे जोड़ूँ?

आपको एक खास server (Composio MCP) जोड़ना होगा, फिर पूछे जाने पर अपना Replicate अकाउंट API token से जोड़ना होगा।

'schemas' क्या होते हैं?

Schemas AI model के लिए नियमों जैसे होते हैं। वे बताते हैं कि model को काम करने के लिए कौन सी जानकारी चाहिए (जैसे इमेज बनाने के लिए टेक्स्ट) और वह आपको क्या लौटाएगा।

क्या लंबा समय लेने वाले models भी चला सकते हैं?

हाँ, नतीजा तैयार होने पर सूचना पाने के लिए आप 'webhooks' का इस्तेमाल कर सकते हैं, या task history देखकर प्रगति जान सकते हैं।

जानकारी

लेखक का मूल विवरण

Automate Replicate AI model operations -- run predictions, upload files, inspect model schemas, list versions, and manage prediction history via the Composio MCP integration.

repo: ComposioHQ/awesome-claude-skills

लोकप्रियता

GitHub स्टार
77k
रैंकिंग में स्थान
#2375
लाइसेंस
—
अपडेट की गई
18/9/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills