Generations
Generating new image
Generate new images
POST https://api.crazyhorse.ai/v1/generations
Generate new images by your purpose.
Headers
Name
Type
Description
api-key*
String
api key
Request Body
Name
Type
Description
params*
object
These params
hair: string,
pose: string,
body: string,
chest: string,
clothes: string,
background: string,
number: number,
girlId: string,
loraId: string (model),
debug: boolean,
image*
string
base64
{
"state": "WAITING",
"code": "string",
"imageUrls": [
"string"
],
"params": {
"hair": "string",
"pose": "string",
"body": "string",
"chest": "string",
"clothes": "string",
"background": "string",
"number": 10,
"loraId": "string",
"debug": true
}
}{
"message": "API key does not exist",
"errorCode": 5001,
"statusCode": 403,
"path": "/v1/generations",
"error": true,
"method": "POST"
}Get Result
Get result for generate
GET https://api.crazyhorse.ai/v1/generations
Using code value to get result
Path Parameters
Name
Type
Description
code*
String
89e78b15d29165008cbfd61ba3bb679f
Headers
Name
Type
Description
api-key*
String
api key
Last updated