tristanbob/text-behind-image
Public
27
runs
Run tristanbob/text-behind-image 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 |
---|---|---|---|
image |
string
|
Input image to add text to
|
|
text |
string
|
Text to add to the image
|
|
text_description |
string
|
large white bold text centered in the image
|
Description of how the text should look (e.g., 'large white bold text at the bottom', 'small red cursive text in the top right corner')
|
{
"type": "object",
"title": "Input",
"required": [
"image",
"text"
],
"properties": {
"text": {
"type": "string",
"title": "Text",
"x-order": 1,
"description": "Text to add to the image"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image to add text to"
},
"text_description": {
"type": "string",
"title": "Text Description",
"default": "large white bold text centered in the image",
"x-order": 2,
"description": "Description of how the text should look (e.g., 'large white bold text at the bottom', 'small red cursive text in the top right corner')"
}
}
}
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/PfMTpa6dVET9VikGL3XSVGk5i06ALnFFJN8Hp3kNWfW1KWLVA/final_composite.png'