Skip to main content
POST
Create Prompt from Text(텍스트로 프롬프트 생성)

Authorizations

X-Api-Key
string
header
required

Headers

X-Platform
enum<string>
default:web

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

Available options:
web,
app,
figma,
api

Body

application/json
text
string
required

input text(입력 텍스트)

Example:

"A dog is running in the park"

styleId
number | null

style id(스타일 아이디)

Example:

123

Response

initialPrompt
string

user input prompt(유저 입력 프롬프트)

enhancedPrompt
string

ttp result(텍스트2프롬프트 결과)

ttpLogId
number

ttpLog id(ttpLog 아이디)