> ## 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.

# Claude 비디오 생성 예

> Claude 비디오 기능 경계 및 권장 워크플로.

## 공식적인 능력 경계

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

## 권장 워크플로

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

## cURL 예

```bash theme={null}
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." }
        ]
      }
    ]
  }'
```

## 파이썬 예제

```python theme={null}
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 예

```js theme={null}
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를 사용하세요.
