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" } }
Retrieve the seed value used to generate a specific image.
You can obtain your API key from the TTAPI Dashboard.
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"}