cURL
curl --request POST \ --url https://api.ttapi.io/midjourney/v1/seed \ --header 'Content-Type: application/json' \ --header 'TT-API-KEY: <api-key>' \ --data ' { "jobId": "<string>", "timeout": "300", "hookUrl": "<string>" } '
{ "status": "SUCCESS", "message": "success", "data": { "job_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" } }
从 Midjourney 图像中获取种子,了解具体用法请参阅 Midjourney文档
Authorization field, Console to get authorization info
Job ID returned from the previous request
Task timeout, unit: seconds, range 300 - 1200
"300"
Callback notification URL
Request successful
"SUCCESS"
"success"
{ "job_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}