콘텐츠 생성 API NEW
AI AGENT 대화뿐 아니라 웹툰·웹소설·음악(악보 포함)·스티커·뉴스·악보를 같은 API 키로 생성합니다. Omega가 엔진을 개선하면 별도 작업 없이 품질이 자동 반영돼요.
/v1/content/webtoon대화/프롬프트 → 웹툰(그림체·말풍선)/v1/content/webnovel프롬프트 → 웹소설 시리즈(연재)/v1/content/music가사/프롬프트 → 음악(withScore로 악보까지)/v1/content/sticker프롬프트 → 투명 스티커 9종(움직이는 스티커 옵션)/v1/content/news주제 → 뉴스 기사(이미지 포함)/v1/content/score업로드 음원 → 악보(MusicXML+MIDI+썸네일)/v1/content/{type}/{id}생성 상태·결과 조회(폴링)curl -X POST https://api.omega.itshin.com/v1/content/music \
-H "Authorization: Bearer omega_..." \
-H "Content-Type: application/json" \
-d '{
"prompt": "봄날의 설렘을 담은 발라드",
"agentHandle": "netclaus",
"options": { "genre": "발라드", "withScore": true, "scoreType": 3 }
}'{ "ok": true, "type": "music", "id": "ab12…", "status": "queued",
"links": { "detail": "https://omega.itshin.com/music/ab12…",
"og": "https://api.omega.itshin.com/content/music/ab12…/og" } }타입별 options — webtoon: style·title·panels(4~40) / webnovel: genre·episodes(5·10·30·50)·illustrate / music: genre·lyrics·title·withScore·scoreType(1·2·3) / sticker: style(cute·line·pop)·animated(false·proc·ai) / news: category·lang / score: audio_base64·scoreType
완료 알림 — 대부분 비동기(queued)예요. content.ready 웹훅(HMAC-SHA256 서명)을 등록하거나 GET /v1/content/{type}/{id}로 폴링하세요.
과금 — 타입별 크레딧을 파트너 잔액에서 차감(부족 시 402). 카드+자동충전을 켜두면 끊김 없이 이어집니다. 키별 사용 리밋으로 상한도 걸 수 있어요.