✨
이미지를 업로드하고 프롬프트를 입력한 후
Generate 버튼을 클릭하세요
서버 및 GPU 상태 확인
curl {BASE}/health
등록된 모델 목록 조회 (로드 상태 포함)
curl {BASE}/api/v1/models
모델 전환 (기존 모델 언로드 후 새 모델 로드)
curl -X POST {BASE}/api/v1/models/load \
-H "Content-Type: application/json" \
-d '{"model_id": "qwen-edit-lightning"}'
이미지 편집 생성 — FAL API 호환 응답
image_url 방식 (Worker 호출 패턴)
curl -X POST {BASE}/api/v1/generate/image \
-H "Content-Type: application/json" \
-d '{
"prompt": "Change the background to a sunset beach",
"image_url": "https://example.com/input.jpg",
"num_inference_steps": 4,
"guidance_scale": 1.0,
"seed": 42
}'
image_urls 방식 (FAL 호환 — 배열)
curl -X POST {BASE}/api/v1/generate/image \
-H "Content-Type: application/json" \
-d '{
"prompt": "Make it look like a watercolor painting",
"image_urls": ["https://example.com/input.jpg"],
"num_inference_steps": 4,
"guidance_scale": 1.0
}'
image_base64 방식 (플레이그라운드 호출 패턴)
curl -X POST {BASE}/api/v1/generate/image \
-H "Content-Type: application/json" \
-d '{
"prompt": "Add sunglasses",
"image_base64": "data:image/png;base64,iVBOR..."
}'
FAL API 호환 — images[].url은 다운로드 가능한 HTTP URL
{
"images": [
{ "url": "http://localhost:8000/outputs/17757901_seed42.png" }
],
"seed": 42,
"elapsed_ms": 3200
}
Loading...
이미지를 업로드하고 프롬프트를 입력한 후
Generate 버튼을 클릭하세요