API 개요로 돌아가기

API 기능

Sketch-to-Figure

러프 스케치를 다듬어진 과학 피규어로 변환합니다.

POST /v1/images/generations · mode=generations
문서 읽기
출력Scientific figure
Sketch-to-Figure output
입력Sketch
Sketch-to-Figure input

요청과 응답 예시

과학적 입력, 비동기 태스크 응답, 최종 출력을 함께 확인하세요.

요청Sketch
응답Scientific figure
Sketch-to-Figure request input
Sketch-to-Figure response output
POST /v1/images/generations
{
  "mode": "generations",
  "image_url": "https://…/sketch.png",
  "prompt": "polished pathway diagram"
}
202 Accepted
{ "task_id": "tsk_01JZ9G2PM8", "status": "processing" }

GET /v1/tasks/tsk_01JZ9G2PM8
{ "status": "succeeded", "output_url": "https://…/pathway.png" }