Create Tile
Create Tile
POST https://api.novita.ai/v3/create-tile
This feature generates images designed for seamless tiling, making it ideal for creating continuous patterns in fabrics, wallpapers, and various textures.
Example
This API generates images that can be used as repeating tiles to create seamless patterns for fabrics, wallpapers, and textures.
Try it in the playground.
Request:
curl --location --request POST 'https://api.novita.ai/v3/create-tile' \
--header 'Authorization: Bearer {{API Key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"negative_prompt": "ng_deepnegative_v1_75t, (badhandv4:1.2), (worst quality:2), (low quality:2), (normal quality:2), lowres, bad anatomy, bad hands, ((monochrome)), ((grayscale)) watermark, moles",
"prompt": "dogs",
"width": 1024,
"height": 1024
}'
HTTP status codes in the 2xx range indicate that the request has been successfully accepted. A code of 400 means there is an error with the request parameters, while status codes in the 5xx range indicate internal server errors.
You can find the image URL in the image_file
field of the response in base64 format.
Response:
{
"image_file": "{{Base64 encoded image}}",
"image_type": "png"
}