빠른 시작
기본 URL https://arteza.ai/api/v1
OpenAPI 3.1 사양, SDK 생성기 및 에이전트용: /api/v1/openapi.json
TypeScript 및 Python용 공식 SDK, 명령줄 및 에이전트 스킬: SDK 및 CLI
- 콘솔에서 API 키를 생성하세요. 콘솔 열기
- 키의 결제 방식을 선택하세요: 플랜 크레딧 또는 종량제 USD 잔액.
- 첫 번째 요청을 보내세요.
curl https://arteza.ai/api/v1/generations \
-H "Authorization: Bearer $ARTEZA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-2",
"input": { "prompt": "A red fox in fresh snow, golden hour" }
}'응답은 생성입니다. 이미지는 종종 요청 내에서 완료되며, 비디오는 실행 중에 반환되므로 폴링하거나 웹훅을 사용하세요.
{
"id": "4f1c2b9e-8d6a-4c51-9a63-0f2b7d1e5a90",
"object": "generation",
"model": "nano-banana-2",
"status": "completed",
"created_at": "2026-11-28T10:00:00.000Z",
"completed_at": "2026-11-28T10:00:07.412Z",
"input": {
"prompt": "A red fox in fresh snow, golden hour",
"aspect_ratio": "1:1",
"num_images": 1
},
"output": {
"files": [
{
"url": "https://assets.arteza.ai/generations/4f1c2b9e.png",
"type": "image"
}
],
"thumbnail_url": null
},
"error": null,
"billing": {
"funding": "usd",
"usd": 0.08,
"usd_micros": 80000,
"refunded": false
}
}