Skip to main content
POST

Authorizations

X-Api-Key
string
header
required

Headers

X-Type
string

API Type(API 유형)

X-Platform
enum<string>
default:web

플랫폼 구분 (web, app, figma)

Available options:
web,
app,
figma,
api

Body

application/json

(Reference Image + Prompt) OR (Style + Prompt) OR (Collection ID + Prompt)(레퍼런스 이미지 + 프롬프트) OR (스타일 + 프롬프트) OR (컬렉션 아이디 + 프롬프트)

prompt
string
required

프롬프트

Maximum string length: 1200
Example:

"유니콘이 인간 그룹과 뛰어놀고 있다"

ratio
enum<string>
required

비율

Available options:
square,
vertical,
horizontal,
1:1,
3:4,
4:3,
9:16,
16:9
image
string
required

이미지 경로

Example:

"1/reference-1423131.png"

randomPrompt
string

랜덤 프롬프트

Example:

"a unicorn is attacking group of humans"

initialPrompt
string

초기 유저 프롬프트(텍스트2프롬프트 이전)

Example:

"a unicorn is attacking group of humans"

enhancedPrompt
string

텍스트2프롬프트 이후

Example:

"a unicorn is attacking group of humans"

captionPrompt
string

img2prompt

Example:

"a unicorn is attacking group of humans"

captionTPrompt
string

img2prompt 번역

Example:

"유니콘이 인간 그룹을 공격하고 있다."

groupId
string

그룹아이디

sample
enum<number>
default:4

생성 개수

Available options:
1,
2,
4
async
boolean
default:false

비동기 생성 여부

Example:

false

Response

Array of Generated Images(생성된 이미지들의 배열)

images
object[]
required

Image Array(이미지 배열)

defaultCredit
number
required

Charge Credit(충전 크레딧)

dailyCredit
number
required

Daily Credit(일일 크레딧)

monthlyCredit
number
required

Monthly Credit(월간 크레딧)