
pipeline-examples/tile

Create a tile that's infinitely patternable.
Public
54
runs
Run pipeline-examples/tile with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
prompt |
string
|
Prompt to guide the inpainting
|
|
input_image |
string
|
Optional input image to make tileable
|
|
model |
None
|
black-forest-labs/flux-schnell
|
Generate a new image if none is provided
|
inpaint_model |
None
|
ideogram
|
Model used for inpainting
|
seam_percentage |
number
|
40
Min: 10 Max: 60 |
Width of the seam to inpaint (as a percentage of image dimensions)
|
{
"type": "object",
"title": "Input",
"required": [
"prompt",
"input_image"
],
"properties": {
"model": {
"enum": [
"ideogram-ai/ideogram-v2",
"ideogram-ai/ideogram-v2-turbo",
"black-forest-labs/flux-dev",
"black-forest-labs/flux-schnell",
"stability-ai/sdxl"
],
"type": "string",
"title": "model",
"description": "Generate a new image if none is provided",
"default": "black-forest-labs/flux-schnell",
"x-order": 2
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt to guide the inpainting"
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 1,
"description": "Optional input image to make tileable"
},
"inpaint_model": {
"enum": [
"flux",
"ideogram"
],
"type": "string",
"title": "inpaint_model",
"description": "Model used for inpainting",
"default": "ideogram",
"x-order": 3
},
"seam_percentage": {
"type": "number",
"title": "Seam Percentage",
"default": 40,
"maximum": 60,
"minimum": 10,
"x-order": 4,
"description": "Width of the seam to inpaint (as a percentage of image dimensions)"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}
Example API response
View prediction
'https://replicate.delivery/xezq/0XvHVtdYuio3HdhyMEfozZJkEbU27XcJquyKo16aMedhf2XqA/tileable_image.png'