Create Hamilton artwork
POST/v1/artworks/hamilton
Generate artwork using text-to-image generation with the Hamilton model.
Request
- application/json
Body
required
Default value: cat
Limited to 256 words; additional content will be truncated.
Limited to 64 words; additional content will be truncated.
Possible values: [default, stained-glass, line-drawing, simple-sketch, hand-sketch, coloring-book, plasticine, photographer, analog, abstract-flat, surreal, manga]
The style to apply to the generated image.
Possible values: [seer, servitor]
Default value: seer
Controls prompt enhancement. SEER enables AI-powered improvement, SERVITOR uses the prompt as-is.
Possible values: >= 1 and <= 5
Default value: 3
Controls the CFG scale. Range: 1-5.
Possible values: >= 1 and <= 5
Default value: 3
Controls generation quality vs speed. 1=fastest, 5=highest quality. Range: 1-5.
Possible values: [1:1, 2:3, 3:4, 4:3, 9:16, 3:2, 16: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 (e.g., 1216 × 1216).
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 (e.g., 1216 × 1216).
When true, uses higher resolution dimensions for aspect ratios (e.g., 1328×1328 instead of 1024×1024 for 1:1).
Responses
- 201
- 400
- 401
- 403
- 429
- 500
- 504
Response indicating that the artwork was successfully created.
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [hamilton]
parameters
object
required
Default value: cat
Limited to 256 words; additional content will be truncated.
Limited to 64 words; additional content will be truncated.
Possible values: [default, stained-glass, line-drawing, simple-sketch, hand-sketch, coloring-book, plasticine, photographer, analog, abstract-flat, surreal, manga]
The style to apply to the generated image.
Possible values: [seer, servitor]
Default value: seer
Controls prompt enhancement. SEER enables AI-powered improvement, SERVITOR uses the prompt as-is.
Possible values: >= 1 and <= 5
Default value: 3
Controls the CFG scale. Range: 1-5.
Possible values: >= 1 and <= 5
Default value: 3
Controls generation quality vs speed. 1=fastest, 5=highest quality. Range: 1-5.
Possible values: [1:1, 2:3, 3:4, 4:3, 9:16, 3:2, 16: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 (e.g., 1216 × 1216).
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 (e.g., 1216 × 1216).
When true, uses higher resolution dimensions for aspect ratios (e.g., 1328×1328 instead of 1024×1024 for 1:1).
Possible values: [done, failed]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"artworkType": "hamilton",
"parameters": {
"prompt": "cat",
"negativePrompt": "string",
"style": "default",
"promptMode": "seer",
"creativity": 3,
"effort": 3,
"aspectRatio": "1:1",
"width": 1024,
"height": 1024,
"nsfw": false,
"transparentBackground": false,
"highResolution": false
},
"duration": 0,
"results": [
"string"
],
"status": "done",
"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"
}
Gateway Timeout
- application/json
- Schema
- Example (from schema)
Schema
Available only when the message includes additional error details.
{
"message": "string",
"statusCode": 0,
"error": "string"
}