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
  }
}

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