기업용 AI 기술

API 연결

주소 하나로 요청을 보내면 당신의 프로그램이 너와나의 영상 · 이미지 · 음악 생성과 마켓 검색 · 구매 · 파일 받기를 직접 부릅니다.

요청은 HTTPS POST 한 가지이고, 주고받는 글은 JSON 입니다. 쓰는 크레딧과 결과물은 사이트의 내 계정과 같습니다.

1. 내 API 주소 받기

로그인한 뒤 아래 단추를 누르면 나만 쓰는 주소가 나옵니다. 이 주소 자체가 열쇠입니다. 따로 붙이는 인증 값은 없습니다. 주소는 언제든 끊을 수 있고, 끊은 순간부터 그 주소로는 아무것도 할 수 없습니다. API 연결과 MCP 는 같은 주소를 씁니다. 새로 받으면 앞서 받은 주소는 그 즉시 꺼집니다.

유료 결제 회원만 쓸 수 있습니다. MCP를 사용한 뒤에는 환불되지 않습니다. 요금 안내

해당 자체 제작공정 연동 서비스를 도입을 희망하실경우 아래 이메일로 문의 바랍니다. info@cliip.co.kr

나만 쓰는 API 주소 — 다른 사람에게 보이지 마세요로그인하면 받을 수 있습니다

크레딧 충전 →

2. 요청 규격

3. 바로 불러 보기

기능 목록 받기

curl -X POST "내 API 주소" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

이미지 만들기 → 결과 받기

curl -X POST "내 API 주소" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"create_image","arguments":{"prompt":"비 오는 서울 골목의 밤, 네온 간판","quality":"standard","ratio":"wide"}}}'

# 응답의 result.structuredContent
# { "kind": "image", "jobId": "…", "credits": 10, "status": "접수됨" }

curl -X POST "내 API 주소" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"get_result","arguments":{"kind":"image","jobId":"받은 jobId"}}}'

# 끝나면 { "done": true, "status": "succeeded", "url": "결과 파일 주소" }

영상 만들기

# ① 상품 목록(plan · 크레딧 · 길이 · 해상도 · 비율)
{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"list_video_options","arguments":{}}}

# ② 접수 — 2~5분 뒤 get_result(kind: video)로 받습니다
{"jsonrpc":"2.0","id":5,"method":"tools/call","params":{"name":"create_video","arguments":{"plan":"목록에서 고른 plan","prompt":"한강 다리 위를 달리는 자전거, 해 질 무렵","aspectRatio":"16:9"}}}

마켓 검색 → 구매 → 파일 받기

# ① 찾기
{"jsonrpc":"2.0","id":6,"method":"tools/call","params":{"name":"search_market","arguments":{"query":"1970년대 서울","category":"webtoon","limit":5}}}

# ② 값 확인(confirm 없이) → ③ 구매(confirm: true)
{"jsonrpc":"2.0","id":7,"method":"tools/call","params":{"name":"buy_market_product","arguments":{"id":"상품 id"}}}
{"jsonrpc":"2.0","id":8,"method":"tools/call","params":{"name":"buy_market_product","arguments":{"id":"상품 id","confirm":true}}}

# ④ 파일 목록과 내려받기 주소
{"jsonrpc":"2.0","id":9,"method":"tools/call","params":{"name":"get_purchase_files","arguments":{"orderId":"받은 orderId"}}}

JavaScript 에서

const API = process.env.NEOWANA_API_URL;   // 내 API 주소 — 코드에 직접 적지 않습니다
let seq = 0;
async function call(name, args = {}) {
  const res = await fetch(API, { method: "POST", headers: { "Content-Type": "application/json" },
    body: JSON.stringify({ jsonrpc: "2.0", id: ++seq, method: "tools/call", params: { name, arguments: args } }) });
  const out = await res.json();
  if (out.error) throw new Error(out.error.message);
  if (out.result.isError) throw new Error(out.result.content[0].text);
  return out.result.structuredContent;
}

const job = await call("create_image", { prompt: "비 오는 서울 골목의 밤", ratio: "wide" });
let result;
do { await new Promise((r) => setTimeout(r, 10000)); result = await call("get_result", { kind: "image", jobId: job.jobId }); } while (!result.done);
console.log(result.url);

4. 부를 수 있는 기능

같은 주소를 AI 에이전트에 넣어 말로 시키려면 기본 MCP, 웹툰 컷을 너와나 공정으로 영상화하려면 자체 제작 공정 + MCP를 보세요.

5. 응답 코드

문의: info@cliip.co.kr