{"openapi":"3.0.3","info":{"title":"APICK 한글 표기 정규화 AI","version":"1.0.0","description":"숫자·단위·기호·영문처럼 읽는 법이 글자에 드러나지 않는 부분을 한글로 풀어 씁니다. 음성 합성(TTS)이나 낭독 원고를 만들기 전에 씁니다. 일반 낱말의 표기는 바꾸지 않습니다."},"servers":[{"url":"https://apick.app"}],"paths":{"/rest/llm/text_pronunciation":{"post":{"summary":"한글 표기 정규화 AI","description":"숫자·단위·기호·영문처럼 읽는 법이 글자에 드러나지 않는 부분을 한글로 풀어 씁니다. 음성 합성(TTS)이나 낭독 원고를 만들기 전에 씁니다. 일반 낱말의 표기는 바꾸지 않습니다.","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"서비스별 성공·처리 상태 응답","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"text":{"type":"string","description":"변환된 문장"},"input_length":{"type":"integer","description":"과금 기준 글자 수(앞뒤 공백 제외)"},"output_length":{"type":"integer","description":"변환된 문장의 글자 수"},"ic_id":{"nullable":true},"result":{"type":"integer","description":"1 성공, 0 실패"},"msg":{"type":"string","description":"실패 사유. 성공하면 빈 문자열"},"success":{"type":"integer"}}},"api":{"type":"object","properties":{"success":{"type":"boolean"},"cost":{"type":"integer","description":"차감된 포인트. 실패하면 0"},"ms":{"type":"integer"},"pl_id":{"type":"integer","description":"포인트 사용 내역 번호","nullable":true}}}}}}}},"default":{"description":"HTTP 상태 및 서비스 오류코드 확인","content":{"application/json":{"schema":{"type":"object"}}}}},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"변환할 원문. 앞뒤 공백을 뺀 길이 1자부터 최대 2,000자. 더 긴 글은 문단 단위로 나눠 보내세요. (string)","example":"서울에서 부산까지는 5시간이 넘게 걸리고 거리는 400km쯤 된다. 5번 버스를 타고 가서 버튼을 5번 누르세요."},"mode":{"type":"string","description":"생략하세요. 보낸다면 normalize만 허용하며, 다른 값은 400(unsupported mode)입니다. (string)"}},"required":["text"]}}}}}}},"x-code-tables":[{"title":"오류 코드","columns":["HTTP","data.msg","대처"],"rows":[["400","text required","비어 있지 않은 text를 보내세요."],["400","텍스트는 최대 2000자까지 입력 가능합니다.","2,000자 이하로 나눠 보내세요."],["400","unsupported mode","mode를 빼고 보내세요."],["402","잔액 부족 (최소 N포인트 필요)","이 요청의 요금 이상으로 충전한 뒤 다시 요청하세요."],["500","서비스 설정을 확인할 수 없습니다.","잠시 후 다시 시도하고, 계속되면 문의하세요."],["502","외부 처리 서비스 응답 오류","과금되지 않습니다. 잠시 후 다시 요청하세요."]]}],"x-service-errors":[],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}}}