查询任务
curl --request GET \
--url https://api.maxapi.ai/mj/task/42a28dda-dc7a-4186-ac86-6e16c1fcef17/fetch \
--header 'Authorization: <authorization>'import requests
url = "https://api.maxapi.ai/mj/task/42a28dda-dc7a-4186-ac86-6e16c1fcef17/fetch"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.maxapi.ai/mj/task/42a28dda-dc7a-4186-ac86-6e16c1fcef17/fetch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/mj/task/42a28dda-dc7a-4186-ac86-6e16c1fcef17/fetch"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.maxapi.ai/mj/task/42a28dda-dc7a-4186-ac86-6e16c1fcef17/fetch")
.header("Authorization", "<authorization>")
.asString();{
"id": "280f4c64-2b54-409f-ac61-48c034bc56fa",
"prompt": "https://cdn.midjourney.com/u/ec8071a7-84b1-4591-99ff-75d0927b8f1d/649c0633eb80350ca6f82643881ad1bc754475153156801a6519a9cf40bc7a8d.jpg a girl --video 1 --aspect 187:256",
"imageUrl": "https://cdn.midjourney.com/u/ec8071a7-84b1-4591-99ff-75d0927b8f1d/649c0633eb80350ca6f82643881ad1bc754475153156801a6519a9cf40bc7a8d.jpg",
"enqueue_time": "2025-06-27 10:10:02.083849+00:00",
"width": 528,
"height": 720,
"batch_size": 4,
"status": "SUCCESS",
"job_type": "vid_1.1_i2v_render_b_joint_video",
"video_url": "https://cdn.midjourney.com/video/280f4c64-2b54-409f-ac61-48c034bc56fa/0.mp4",
"video_urls": [
"https://cdn.midjourney.com/video/280f4c64-2b54-409f-ac61-48c034bc56fa/0.mp4",
"https://cdn.midjourney.com/video/280f4c64-2b54-409f-ac61-48c034bc56fa/1.mp4",
"https://cdn.midjourney.com/video/280f4c64-2b54-409f-ac61-48c034bc56fa/2.mp4",
"https://cdn.midjourney.com/video/280f4c64-2b54-409f-ac61-48c034bc56fa/3.mp4"
],
"progress": "100%",
"action": "video"
}GET
https://api.maxapi.ai
/
mj
/
task
/
42a28dda-dc7a-4186-ac86-6e16c1fcef17
/
fetch
查询任务
curl --request GET \
--url https://api.maxapi.ai/mj/task/42a28dda-dc7a-4186-ac86-6e16c1fcef17/fetch \
--header 'Authorization: <authorization>'import requests
url = "https://api.maxapi.ai/mj/task/42a28dda-dc7a-4186-ac86-6e16c1fcef17/fetch"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.maxapi.ai/mj/task/42a28dda-dc7a-4186-ac86-6e16c1fcef17/fetch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/mj/task/42a28dda-dc7a-4186-ac86-6e16c1fcef17/fetch"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.maxapi.ai/mj/task/42a28dda-dc7a-4186-ac86-6e16c1fcef17/fetch")
.header("Authorization", "<authorization>")
.asString();{
"id": "280f4c64-2b54-409f-ac61-48c034bc56fa",
"prompt": "https://cdn.midjourney.com/u/ec8071a7-84b1-4591-99ff-75d0927b8f1d/649c0633eb80350ca6f82643881ad1bc754475153156801a6519a9cf40bc7a8d.jpg a girl --video 1 --aspect 187:256",
"imageUrl": "https://cdn.midjourney.com/u/ec8071a7-84b1-4591-99ff-75d0927b8f1d/649c0633eb80350ca6f82643881ad1bc754475153156801a6519a9cf40bc7a8d.jpg",
"enqueue_time": "2025-06-27 10:10:02.083849+00:00",
"width": 528,
"height": 720,
"batch_size": 4,
"status": "SUCCESS",
"job_type": "vid_1.1_i2v_render_b_joint_video",
"video_url": "https://cdn.midjourney.com/video/280f4c64-2b54-409f-ac61-48c034bc56fa/0.mp4",
"video_urls": [
"https://cdn.midjourney.com/video/280f4c64-2b54-409f-ac61-48c034bc56fa/0.mp4",
"https://cdn.midjourney.com/video/280f4c64-2b54-409f-ac61-48c034bc56fa/1.mp4",
"https://cdn.midjourney.com/video/280f4c64-2b54-409f-ac61-48c034bc56fa/2.mp4",
"https://cdn.midjourney.com/video/280f4c64-2b54-409f-ac61-48c034bc56fa/3.mp4"
],
"progress": "100%",
"action": "video"
}