众扬汇 AI 开放平台 API 文档

异步请求提交例子: SeedEdit

接口:POST /volcv/v1 归属:绘图模型/ 豆包(即梦、火山)绘图 调用地址:Base URL https://api.allyang.cn(OpenAI 兼容前缀 https://api.allyang.cn/v1)+ 上述路径 鉴权:请求头 Authorization: Bearer <你的令牌>;令牌在控制台「令牌管理」创建 说明:下方为本接口契约。路径、字段名与枚举取值与线上接口一致;叙述文字已按本平台口径重写。价格、并发与限流等数值以控制台及实际返回为准,未确认处标注「待补」。

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /volcv/v1:
    post:
      summary: '异步请求提交例子: SeedEdit'
      description: "本商品的能力已支持同步转异步调用,分两步完成:① 用 Action=CVSync2AsyncSubmitTask 提交任务;② 用 Action=CVSync2AsyncGetResult 查询结果。"
      tags:
        - 绘图模型/ 豆包(即梦、火山)绘图
      parameters:
        - name: Action
          in: query
          description: ''
          required: true
          example: CVSync2AsyncSubmitTask
          schema:
            type: string
        - name: Version
          in: query
          description: ''
          required: true
          example: '2022-08-31'
          schema:
            type: string
        - name: Authorization
          in: header
          description: ''
          required: false
          example: Bearer {{YOUR_API_KEY}}
          schema:
            type: string
            default: Bearer {{YOUR_API_KEY}}
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties: {}
            example: "{\r\n    \"req_key\": \"byteedit_v2.0\",\r\n    // \"binary_data_base64\": [],\r\n    \"image_urls\": [\r\n        \"https://api.allyang.cn/<外部地址已按合规要求移除>\"\r\n    ],\r\n    \"prompt\": \"让他生气\",\r\n    \"negative_prompt\": \"\",\r\n    \"seed\": -1,\r\n    \"scale\": 0.5,\r\n    \"return_url\": true,\r\n    \"logo_info\": {\r\n        \"add_logo\": false,\r\n        \"position\": 0,\r\n        \"language\": 0,\r\n        \"logo_text_content\": \"这里是明水印内容\"\r\n    }\r\n}"
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
      security: []
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []