Get generations by user ID
Develop Env
https://dev.your-api-server.com
Develop Env
https://dev.your-api-server.com
GET
/api/rest/v1/generations/user/{userId}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://dev.your-api-server.com/api/rest/v1/generations/user/?offset=0&limit=10'
Response Response Example
{
"generations": [
{
"createdAt": "string",
"generated_images": [
{
"generated_image_variation_generics": [
{
"id": "string",
"status": "PENDING",
"transformType": "OUTPAINT",
"url": "string"
}
],
"id": "string",
"imageToVideo": true,
"likeCount": 0,
"motion": true,
"motionModel": "string",
"motionMP4URL": "string",
"motionStrength": 0,
"nsfw": true,
"url": "string"
}
],
"generation_elements": [
{
"id": 0,
"lora": {
"akUUID": "string",
"baseModel": "v1_5",
"description": "string",
"name": "string",
"urlImage": "string",
"weightDefault": 0,
"weightMax": 0,
"weightMin": 0
},
"weightApplied": 0
}
],
"guidanceScale": 0,
"id": "string",
"imageHeight": 0,
"imageWidth": 0,
"inferenceSteps": 0,
"initStrength": 0,
"modelId": "string",
"negativePrompt": "string",
"photoReal": true,
"photoRealStrength": 0,
"presetStyle": "DYNAMIC",
"prompt": "string",
"promptMagic": true,
"promptMagicStrength": 0,
"promptMagicVersion": "string",
"public": true,
"scheduler": "KLMS",
"sdVersion": "v1_5",
"seed": 0,
"status": "PENDING"
}
]
}
Request
Path Params
userId
string
required
Query Params
offset
string
optional
Example:
0
limit
string
optional
Example:
10
Responses
Modified at 2024-07-29 07:07:50