메인 콘텐츠로 건너뛰기

Documentation Index

Fetch the complete documentation index at: https://docs.apigo.ai/llms.txt

Use this file to discover all available pages before exploring further.

공식적인 능력 경계

  • Anthropic의 공개 API는 전용 비디오 생성 엔드포인트를 노출하지 않습니다.
  • Claude는 비디오 렌더링보다 비디오 이해에 더 적합합니다.

권장 워크플로

  1. 실제 비디오 생성을 오픈AI 영상 또는 Gemini 장기 실행 영상으로 라우팅합니다.
  2. 영상 이해를 위해 프레임이나 대본을 전처리하여 클로드 /v1/messages로 보냅니다.
  3. 스크립트 개선, 요약 또는 장면 분석을 위해 Claude를 사용하세요.

cURL 예

curl https://api.anthropic.com/v1/messages \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "claude-sonnet-4-20250514",
    "max_tokens": 1024,
    "messages": [
      {
        "role": "user",
        "content": [
          {
            "type": "image",
            "source": {
              "type": "url",
              "url": "https://example.com/video-frame-001.png"
            }
          },
          { "type": "text", "text": "Summarize the scene and suggest a stronger video script." }
        ]
      }
    ]
  }'

파이썬 예제

from anthropic import Anthropic

client = Anthropic(api_key="<ANTHROPIC_API_KEY>")

response = client.messages.create(
    model="claude-sonnet-4-20250514",
    max_tokens=1024,
    messages=[
        {
            "role": "user",
            "content": [
                {
                    "type": "image",
                    "source": {
                        "type": "url",
                        "url": "https://example.com/video-frame-001.png",
                    },
                },
                {"type": "text", "text": "Summarize the scene and suggest a stronger video script."},
            ],
        }
    ],
)

print(response.content[0].text)

Node.js 예

import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: process.env.ANTHROPIC_API_KEY,
});

const response = await client.messages.create({
  model: "claude-sonnet-4-20250514",
  max_tokens: 1024,
  messages: [
    {
      role: "user",
      content: [
        {
          type: "image",
          source: {
            type: "url",
            url: "https://example.com/video-frame-001.png"
          }
        },
        { type: "text", text: "Summarize the scene and suggest a stronger video script." }
      ]
    }
  ]
});

console.log(response.content[0].text);

모범 사례

  • 생성과 이해를 별도의 제품 워크플로로 유지
  • 재현성을 위해 전처리 아티팩트 유지
  • 가짜 비디오 생성기가 아닌 분석을 위해 Claude를 사용하세요.