- Get Started
- Endpoints
- Flux
- AI Hug
- LLM
- Midjourney
- Faceswap
- TTS
- Song(Suno+Udio)
- Trellis
- Luma Dream Machine
- Kling
- Hailuo
- Skyreels
- WanX
- Hunyuan Video
- PiAPI Account Management
- Mmaudio
- DiffRhythm
- Tools
- Resources
- Legacy Documentation
- Midjourney
- Face Swap
- Dream Machine
- Kling
Seed
POST
https://api.piapi.ai/mj/v2/seed
legacy/Midjourney
Request
Header Params
X-API-Key
string
required
Example:
{{x-api-key}}
Body Params application/json
task_id
string
required
Example
{
"task_id": "dada0eae**********7491e13c962a"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.piapi.ai/mj/v2/seed' \
--header 'X-API-Key: {{x-api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"task_id": "dada0eae**********7491e13c962a"
}'
Responses
🟢200OK
application/json
Body
task_id
string
optional
status
string
optional
message
string
optional
Example
{
"task_id": "44ce1030**************17313b046e9f",
"status": "success",
"message": ""
}
🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Modified at 2024-09-24 02:23:40