Text to Art
Develop Env
Develop Env
POST
/external/api/v3/user_activity/create-art
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/external/api/v3/user_activity/create-art' \
--header 'x-api-key: Paste your generated api-key here' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "A beautiful little girl",
"guidance_scale": 7.5,
"num_outputs": 1,
"aspect_ratio": "1:1",
"studio_options": {
"style": ["cinematic"] // here ascii is one of the style_id as attached the the description above
}
}'
Response Response Example
{}
Request
Header Params
x-api-key
string
required
Example:
Paste your generated api-key here
Content-Type
string
required
Example:
application/json
Body Params application/json
Responses
Modified at 2024-07-30 06:33:43