Generate Image
Generate image (bitforge)
Generates a pixel art image based on the provided parameters. Called "Generate image (style)" in the plugin.
Supported image size:
- Maximum area 200x200
Supported features:
- Style image
- Inpainting
- Init image
- Forced palette
- Transparent background
Using the Python client:
import pixellab
client = pixellab.Client(secret="YOUR_API_TOKEN")
response = client.generate_image_bitforge(
description="cute dragon",
image_size=dict(width=128, height=128),
)
response.image.pil_image()
post/generate-image-bitforge
Request body
Example request
{
"description": "cute dragon",
"image_size": {
"height": 128,
"width": 128
},
"no_background": true,
"style_guidance_scale": 3,
"style_strength": 20,
"text_guidance_scale": 3
}Response
Successfully generated image
Changes
No recorded changes to this endpoint across all 1 revision of this API.