문서
문서
빠른 시작
몇 분 안에 Renderful API를 시작하세요. 다음 단계를 따라 첫 번째 API 요청을 보내보세요.
1. API 키 받기
Create an API key from the API 키 페이지. Keep this key secure and never expose it in client-side code.
2. 첫 번째 요청 보내기
curl -X POST https://api.renderful.ai/api/v1/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "text-to-image",
"model": "flux-dev",
"prompt": "A beautiful sunset over mountains"
}'3. 응답 처리하기
{
"id": "gen_abc123",
"status": "processing",
"model": "flux-dev",
"created_at": "2024-01-15T10:30:00Z"
}생성 상태를 폴링하거나 웹훅을 구성하여 완료 시 알림을 받으세요.