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는 전용 이미지 생성 엔드포인트를 노출하지 않습니다.
- 클로드는 직접적인 이미지 생성이 아닌 이미지 이해에 강합니다.
권장 워크플로
- 클로드 /v1/messages를 사용하여 프롬프트를 수정하세요.
- 이미지 생성을 공식적으로 지원하는 제공업체에 최종 프롬프트를 전달하세요.
- 검토, QA 또는 수정 지침을 위해 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": 512,
"messages": [
{
"role": "user",
"content": [{ "type": "text", "text": "Rewrite this prompt for a clean ApiGo product poster: A clean ApiGo product poster" }]
}
]
}'
파이썬 예제
from anthropic import Anthropic
client = Anthropic(api_key="<ANTHROPIC_API_KEY>")
response = client.messages.create(
model="claude-sonnet-4-20250514",
max_tokens=512,
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "Rewrite this prompt for a clean ApiGo product poster: A clean ApiGo product poster",
}
],
}
],
)
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: 512,
messages: [
{
role: "user",
content: [
{
type: "text",
text: "Rewrite this prompt for a clean ApiGo product poster: A clean ApiGo product poster"
}
]
}
]
});
console.log(response.content[0].text);
모범 사례
- 프런트엔드에 대한 가짜 “Claude 이미지 생성” 엔드포인트를 만들지 마세요.
- 직접 렌더링 대신 신속한 개선 및 검토를 위해 Claude를 사용하세요.
- 생성 파이프라인과 이해 파이프라인을 별도로 유지하세요.