
corywilkerson/redbook

Public
41
runs
Run corywilkerson/redbook 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 |
---|---|---|---|
text |
string
|
The text/message to display on the vintage propaganda art
|
|
font_style |
None
|
heavy_helvetica
|
Typography style for the text
|
setting |
string
|
|
Optional setting or environment for the overall aesthetic
|
aspect_ratio |
None
|
16:9
|
Aspect ratio for the generated image
|
safety_filter_level |
None
|
block_only_high
|
Safety filter level
|
output_format |
None
|
jpg
|
Output image format
|
{
"type": "object",
"title": "Input",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"title": "Text",
"x-order": 0,
"description": "The text/message to display on the vintage propaganda art"
},
"setting": {
"type": "string",
"title": "Setting",
"default": "",
"x-order": 2,
"description": "Optional setting or environment for the overall aesthetic"
},
"font_style": {
"enum": [
"heavy_helvetica",
"groovy_psychedelic",
"corporate_futura",
"condensed_gothic",
"retro_serif"
],
"type": "string",
"title": "font_style",
"description": "Typography style for the text",
"default": "heavy_helvetica",
"x-order": 1
},
"aspect_ratio": {
"enum": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:2",
"2:3"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio for the generated image",
"default": "16:9",
"x-order": 3
},
"output_format": {
"enum": [
"jpg",
"png"
],
"type": "string",
"title": "output_format",
"description": "Output image format",
"default": "jpg",
"x-order": 5
},
"safety_filter_level": {
"enum": [
"block_low_and_above",
"block_medium_and_above",
"block_only_high"
],
"type": "string",
"title": "safety_filter_level",
"description": "Safety filter level",
"default": "block_only_high",
"x-order": 4
}
}
}
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/0cmSaZau7nIMDJXz2FNp2dwuO1k6rLUoIdhTaxKe3FELAJmKA/tmpdxx2rzrt.jpg'