Selena Variete
POST/v2/artworks/selena-variete
Start an image-to-image generation from a source image. Pick a processing mode (like reimagine or sketch-to-image) to control how closely the result follows the input.
Request
- application/json
Body
required
URL of the source image to process.
Possible values: [tengrai-20231128-m-d.safetensors, tengrai-20240423-m-f.safetensors]
Possible values: >= 1 and <= 2
Default value: 2
Number of images to generate per task (1-2). Default 2.
Default value: cat
Limited to 256 words; additional content will be truncated.
Limited to 64 words; additional content will be truncated.
Possible values: [default, portraiture, landscape, photographer, analog, car, food, horror, stained-glass, impasto, abstract-ink, illustration, aquarelle, water-cute, sphericute, fairytale, machinart, isometric, logo, abstractpen, lineart, manga, infiny-weave, infiny-pattern, infiny-flow]
Default value: default
Possible values: [sketch-to-image, reimagine, 3d, ai-rchitect, human-pose, retake]
Image processing mode that determines how the source image is used.
Possible values: [seer, servitor]
Default value: servitor
Controls prompt enhancement. SEER enables AI-powered improvement, SERVITOR uses the prompt as-is.
Possible values: >= 1 and <= 5
Default value: 3
Possible values: >= 1 and <= 5
Default value: 3
Possible values: >= 1 and <= 5
Default value: 3
Denoising strength from 1 (very subtle) to 5 (extreme). Ignored for sketch-to-image, ai-rchitect, human-pose, and 3d modes which always use full generation.
Possible values: [1:1, 7:9, 2:3, 4:7, 9:16, 9:21, 9:7, 3:2, 7:4, 16:9, 21:9]
Defaults to a 1:1 ratio (1024 × 1024) if width and height are not specified.
Possible values: >= 512 and <= 2048
Use aspectRatio instead of custom width and height for better quality. If defined, the total area (width × height) must not exceed 1,478,656 pixels.
Possible values: >= 512 and <= 2048
Use aspectRatio instead of custom width and height for better quality. If defined, the total area (width × height) must not exceed 1,478,656 pixels.
Set to true to allow NSFW output. When false (the default), safety negatives are injected into the negative prompt to suppress NSFW content.
Possible values: [cool, warm, blackAndWhite, pastel, vibrantColors, sepia, mutedColors, neonColors]
Overall color palette. Prepended to the prompt; flows through SEER improvement.
Optional webhook URL. When provided, the server will POST the final artwork result to this URL upon completion.
Responses
- 202
- 400
- 401
- 403
- 429
- 500
Response indicating that the artwork was successfully created.
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [selena_variete]
parameters
object
required
URL of the source image to process.
Possible values: [tengrai-20231128-m-d.safetensors, tengrai-20240423-m-f.safetensors]
Possible values: >= 1 and <= 2
Default value: 2
Number of images to generate per task (1-2). Default 2.
Default value: cat
Limited to 256 words; additional content will be truncated.
Limited to 64 words; additional content will be truncated.
Possible values: [default, portraiture, landscape, photographer, analog, car, food, horror, stained-glass, impasto, abstract-ink, illustration, aquarelle, water-cute, sphericute, fairytale, machinart, isometric, logo, abstractpen, lineart, manga, infiny-weave, infiny-pattern, infiny-flow]
Default value: default
Possible values: [sketch-to-image, reimagine, 3d, ai-rchitect, human-pose, retake]
Image processing mode that determines how the source image is used.
Possible values: [seer, servitor]
Default value: servitor
Controls prompt enhancement. SEER enables AI-powered improvement, SERVITOR uses the prompt as-is.
Possible values: >= 1 and <= 5
Default value: 3
Possible values: >= 1 and <= 5
Default value: 3
Possible values: >= 1 and <= 5
Default value: 3
Denoising strength from 1 (very subtle) to 5 (extreme). Ignored for sketch-to-image, ai-rchitect, human-pose, and 3d modes which always use full generation.
Possible values: [1:1, 7:9, 2:3, 4:7, 9:16, 9:21, 9:7, 3:2, 7:4, 16:9, 21:9]
Defaults to a 1:1 ratio (1024 × 1024) if width and height are not specified.
Possible values: >= 512 and <= 2048
Use aspectRatio instead of custom width and height for better quality. If defined, the total area (width × height) must not exceed 1,478,656 pixels.
Possible values: >= 512 and <= 2048
Use aspectRatio instead of custom width and height for better quality. If defined, the total area (width × height) must not exceed 1,478,656 pixels.
Set to true to allow NSFW output. When false (the default), safety negatives are injected into the negative prompt to suppress NSFW content.
Possible values: [cool, warm, blackAndWhite, pastel, vibrantColors, sepia, mutedColors, neonColors]
Overall color palette. Prepended to the prompt; flows through SEER improvement.
Optional webhook URL. When provided, the server will POST the final artwork result to this URL upon completion.
Possible values: [starting, processing, succeeded, failed, canceled]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"artworkType": "selena_variete",
"parameters": {
"imageUrl": "string",
"model": "tengrai-20231128-m-d.safetensors",
"batch": 2,
"prompt": "cat",
"negativePrompt": "string",
"style": "default",
"processingMode": "sketch-to-image",
"promptMode": "servitor",
"creativity": 3,
"details": 3,
"denoising": 3,
"aspectRatio": "1:1",
"width": 1024,
"height": 1024,
"nsfw": false,
"transparentBackground": false,
"colorTone": "cool",
"webhook": "string"
},
"duration": 0,
"results": [
"string"
],
"status": "starting",
"createdAt": "2024-07-29T15:51:28.071Z"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
Schema
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}