> ## Documentation Index
> Fetch the complete documentation index at: https://help.jeekmind.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 图片生成-Seedream 5.0 Lite



## OpenAPI

````yaml /apidoc/toopen-new.json post /workflow/seedreamAiImage
openapi: 3.1.0
info:
  title: AI智能助手
  description: ''
  version: 1.0.0
servers:
  - url: https://open251124.ai.jko.cc
security:
  - BearerAuth: []
tags:
  - name: 视频生成
    description: AI 视频生成及结果查询接口
  - name: 临时储存
    description: 临时文件上传接口
  - name: 视频生成-Seedance2.0（支持人脸）
    description: Seedance2.0（支持人脸）相关接口
  - name: 视频生成-Seedance 原价
    description: Seedance 原价相关接口
  - name: 视频生成-获取生成结果
    description: 获取生成结果相关接口
  - name: 视频生成-谷歌 Omni
    description: 谷歌 Omni相关接口
  - name: 视频生成-Seedance2.0 限时折扣（支持人脸）
    description: Seedance2.0 限时折扣（支持人脸）相关接口
  - name: 视频生成-Seedance2.0 体验1
    description: Seedance2.0 体验1相关接口
  - name: 视频生成-Seedance2.0 体验2
    description: Seedance2.0 体验2相关接口
  - name: 视频生成-Seedance2.0 体验3
    description: Seedance2.0 体验3相关接口
  - name: Seedance 官方-素材库列表
    description: Seedance 官方-素材库列表相关接口
  - name: Seedance 官方-上传素材
    description: Seedance 官方-上传素材相关接口
  - name: Seedance 官方-删除素材
    description: Seedance 官方-删除素材相关接口
  - name: Seedance 官方-更新素材名
    description: Seedance 官方-更新素材名相关接口
  - name: Seedance 官方-获取素材审核结果
    description: Seedance 官方-获取素材审核结果相关接口
paths:
  /workflow/seedreamAiImage:
    post:
      tags:
        - 图片生成-Seedream 5.0 Lite
      summary: 图片生成-Seedream 5.0 Lite
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                aspect_ratio:
                  type: integer
                  description: 画面比例（1:【16:9】。2:【9:16】。3:【1:1】。4:【4:3】。5:【3:4】）
                  example: 3
                  enum:
                    - 1
                    - 2
                    - 3
                    - 4
                    - 5
                channel_option:
                  type: integer
                  description: 渠道（1 渠道一）
                  example: 1
                  enum:
                    - 1
                'n':
                  type: integer
                  description: 输出图片数量：1~5
                  example: 3
                  minimum: 1
                  maximum: 5
                prompt:
                  type: string
                  description: 文本提示词
                  example: 生成今年世界杯的宣传海报
                resolution_option:
                  type: integer
                  description: |-
                    分辨率
                    3：2K，4：3K，5：4K
                  example: 3
                  enum:
                    - 3
                    - 4
                    - 5
                reference_urls:
                  type: array
                  description: 参考图片 URL
                  items:
                    type: string
                    format: uri
                  example:
                    - >-
                      https://ark-project.tos-cn-beijing.volces.com/doc_image/i2v_foxrgirl.png
              required:
                - aspect_ratio
                - channel_option
                - 'n'
                - prompt
                - resolution_option
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoTaskResponse'
              example:
                status: 100
                message: 操作成功
                data:
                  id: 17477
                  status: Running
                  amount: '12'
components:
  schemas:
    VideoTaskResponse:
      type: object
      required:
        - status
        - message
        - data
      properties:
        status:
          type: integer
          description: 状态码，100 表示成功，其他表示失败。
          example: 100
        message:
          type: string
          description: 操作结果的提示消息。
          example: 操作成功
        data:
          $ref: '#/components/schemas/VideoTaskData'
    VideoTaskData:
      type: object
      required:
        - id
        - status
        - amount
      properties:
        id:
          type: integer
          description: 任务的 ID 记录
          example: 11
        status:
          type: string
          enum:
            - Running
            - Success
            - Failed
          description: 状态（Success：执行成功。Running：执行中。Fail：执行失败）
          example: Running
        amount:
          type: number
          description: 任务预计扣除算力
          example: 100
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        在 Authorization 请求头中传入带 Bearer 头的 API 密钥，例如：Bearer xxxxxx 
        [如何获取 API 密钥？](/dev/open/get-bearer-token)

````