V6 is a milestone for "precise prompting," supporting natural language over complex keywords. It accurately embeds text within images and establishes a serious, authentic aesthetic for commercial and realistic art.
Request
Authorization
Header Params
Body Params application/jsonRequired
Example
{"prompt":"A cinematic cyberpunk street at night, neon signs reflecting in puddles, rain falling in slow motion, hyper-realistic textures.","chaos":0,"quality":"1","stylize":0,"weird":0,"raw":false,"iw":1,"cw":100,"sw":100,"sv":4,"stop":100,"tile":false,"aspectRatio":"1:1"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://www.runninghub.ai/openapi/v2/youchuan/text-to-image-v6' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Content-Type: application/json' \
--data-raw'{
"prompt": "A cinematic cyberpunk street at night, neon signs reflecting in puddles, rain falling in slow motion, hyper-realistic textures.",
"chaos": 0,
"quality": "1",
"stylize": 0,
"weird": 0,
"raw": false,
"iw": 1,
"cw": 100,
"sw": 100,
"sv": 4,
"stop": 100,
"tile": false,
"aspectRatio": "1:1"
}'