跳到主要内容

MJ视频 (chat格式)

OpenAPI Specification

openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths:
/v1/chat/completions:
post:
summary: MJ视频 (chat格式)
deprecated: false
description: ''
tags:
- 模型接口/Midjourney/Openai兼容/chat格式
parameters:
- name: Accept
in: header
description: ''
required: true
example: application/json
schema:
type: string
default: application/json
- name: Authorization
in: header
description: ''
required: true
example: sk-
schema:
type: string
default: sk-
- name: Content-Type
in: header
description: ''
required: true
example: application/json
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
example:
model: chat_fast_video
messages:
- role: user
content:
- type: text
text: 飞机冒烟,准备撞击大厦,超人突然出现,救下飞机
- type: image_url
image_url:
url: >-
https://cdn.pixabay.com/photo/2020/05/01/08/33/building-5115897_1280.jpg
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
example:
id: chatcmpl-e958087762724a59a3b6d4931bae3fee
object: chat.completion.chunk
serviceTier: default
created: 1753957765
model: chat_fast_video
choices:
- index: 0
finishReason: stop
delta:
role: assistant
content: |-
✅ 图片生成完成!

**视频1:**
[![视频1](https://video1.mid。。。。。。
headers: {}
x-apifox-name: 成功
security: []
x-apifox-folder: 模型接口/Midjourney/Openai兼容/chat格式
x-apifox-status: released
x-run-in-apifox: https://app.apifox.com/web/project/5503894/apis/api-329853058-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: '{{base_url}}'
description: 测试环境
- url: https://newapi.eronmind.com
description: 正式环境
security: []