图片生成提示词优化

POST
https://open.lgai.cc/api/image_Prompt_Optimization

接口描述

图片生成提示词优化

请求参数

相关套餐

请求示例

var axios = require('axios')

var config = {
  method: 'get',
  url: ''
}

axios(config)
  .then(function (response) {
    console.log(JSON.stringify(response.data))
  })
  .catch(function (error) {
    console.log(error)
  })

返回示例

{
  "code": 200,
  "original_prompt": "一只小猫",
  "aspect_ratio": "1:1",
  "optimized_prompt": "小猫 (主体: 1.0) + 可爱风格 (风格: 0.8) + 温馨室内场景 (场景: 0.7) + 毛发细腻 (细节: 0.9) + 柔和光线 (光线: 0.8) + 高清晰度 (画质参数: 1.0) + 负向提示词:排除模糊、阴暗、杂乱背景。",
  "request_id": "540a67060cab4c86a16f7ba7"
}