본문으로 건너뛰기
Skillpedia
에이전트77k · #2375

Replicate Automation

하는 일

이 도구는 Replicate의 AI 모델을 사용해 이미지, 텍스트, 오디오, 동영상을 만들도록 돕습니다. 모델을 실행하고, 작동 방식을 확인하고, 파일을 보내고, 이미 만든 결과를 추적할 수 있습니다.

사용하는 경우

  • ✓텍스트 설명으로 이미지를 만들 때.
  • ✓언어 모델로 텍스트를 생성할 때.
  • ✓AI 모델을 사용하기 전에 세부 정보를 확인할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/replicate-automation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“‘stability-ai/stable-diffusion-xl-base-1.0’ 모델과 ‘소파에 누워 자고 있는 귀여운 고양이’라는 프롬프트로 고양이 이미지를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

Replicate 계정을 연결한 다음, AI에게 특정 모델 실행, 필요한 파일 업로드, 모델 정보 보기 등을 요청할 수 있습니다.

기술 내용 (원본 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 계정은 어떻게 연결하나요?

특별한 서버(Composio MCP)를 추가한 뒤, 요청이 나오면 API 토큰으로 Replicate 계정을 연결해야 합니다.

‘스키마’는 무엇인가요?

스키마는 AI 모델의 ‘규칙’과 같습니다. 모델이 작동하는 데 어떤 정보가 필요한지(예: 이미지를 만들 텍스트)와 무엇을 돌려주는지 알려 줍니다.

오래 걸리는 모델도 실행할 수 있나요?

네, ‘웹훅’을 사용하면 결과가 준비되었을 때 알림을 받을 수 있고, 작업 기록을 확인해 진행 상황을 볼 수도 있습니다.

상세 정보

작성자의 원본 설명

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
라이선스
—
업데이트
2026. 9. 18.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬