Skip to main content

generation_doc.proto (version not set)

Download OpenAPI specification:Download

GenerationService

AsyncCancel

Request Body schema: application/json
requestId
string
asyncHandle
string

Responses

Request samples

Content type
application/json
{
  • "requestId": "string",
  • "asyncHandle": "string"
}

Response samples

Content type
application/json
{ }

AsyncGenerate

Request Body schema: application/json

A Request is a set of Artifacts, which can be of any type with model or transform parameters. It is sent to the server, which will respond with an Answer.

engineId
string
requestId
string
requestedType
string (ArtifactType)
Default: "ARTIFACT_NONE"
Enum: "ARTIFACT_NONE" "ARTIFACT_IMAGE" "ARTIFACT_VIDEO" "ARTIFACT_TEXT" "ARTIFACT_TOKENS" "ARTIFACT_EMBEDDING" "ARTIFACT_CLASSIFICATIONS" "ARTIFACT_MASK" "ARTIFACT_LATENT" "ARTIFACT_TENSOR" "ARTIFACT_LORA"
Array of objects (Prompt)
object (ImageParameters)

Responses

Request samples

Content type
application/json
{
  • "engineId": "string",
  • "requestId": "string",
  • "requestedType": "ARTIFACT_NONE",
  • "prompt": [
    ],
  • "image": {
    }
}

Response samples

Content type
application/json
{
  • "requestId": "string",
  • "asyncHandle": "string"
}

AsyncResult

Request Body schema: application/json
requestId
string
asyncHandle
string

Responses

Request samples

Content type
application/json
{
  • "requestId": "string",
  • "asyncHandle": "string"
}

Response samples

Content type
application/json
{
  • "answer": [
    ],
  • "complete": true,
  • "status": {
    }
}

Generate

Request Body schema: application/json

A Request is a set of Artifacts, which can be of any type with model or transform parameters. It is sent to the server, which will respond with an Answer.

engineId
string
requestId
string
requestedType
string (ArtifactType)
Default: "ARTIFACT_NONE"
Enum: "ARTIFACT_NONE" "ARTIFACT_IMAGE" "ARTIFACT_VIDEO" "ARTIFACT_TEXT" "ARTIFACT_TOKENS" "ARTIFACT_EMBEDDING" "ARTIFACT_CLASSIFICATIONS" "ARTIFACT_MASK" "ARTIFACT_LATENT" "ARTIFACT_TENSOR" "ARTIFACT_LORA"
Array of objects (Prompt)
object (ImageParameters)

Responses

Request samples

Content type
application/json
{
  • "engineId": "string",
  • "requestId": "string",
  • "requestedType": "ARTIFACT_NONE",
  • "prompt": [
    ],
  • "image": {
    }
}

Response samples

Content type
application/json
{
  • "result": {
    },
  • "error": {
    }
}