pipeline-examples/prompter

Create prompt variations from a single prompt + make images with each!

Public
17 runs

Run pipeline-examples/prompter 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
Starting theme to base templates on
number_of_templates
integer
1

Min: 1

Max: 10

Number of templates to generate
number_of_prompts_per_template
integer
1

Min: 1

Max: 10

Number of prompts to generate per template
number_of_images_per_prompt
integer
1

Min: 1

Max: 10

Number of images to generate per prompt
correct_grammar
boolean
True
Correct grammar of the prompt
aspect_ratio
None
1:1
Aspect ratio of the image

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}
Example API response
View prediction
['https://replicate.delivery/xezq/tW5nu35Ep1rTFFo8O4TRH6CLE0vlUsWS5bATf8POeHeXE8XqA/tmp5ylbwyru.jpg',
 'https://replicate.delivery/xezq/rf9UYFaQpaU5cKEgFQdfPDheRazLxWmKXNaQpsRZHxtWE8XqA/tmptyi4868w.jpg',
 'https://replicate.delivery/xezq/sFfZyCy2AZQeR0DfbqWmMZENbs5DC9Dd8ZzYIOBne13tI4vUB/tmp4khs_o8r.jpg',
 'https://replicate.delivery/xezq/YVzS1JNPvn7CFFBGbyuQMnttK8fv8RaDT9XLDhJJ4heLCeXqA/tmps62cl8hr.jpg',
 'https://replicate.delivery/xezq/0TPrXp6985IBJlBwASJYdA1t4RLmYc9kDdSfuVGpNgZGBfLVA/tmp_jf1hnel.jpg',
 'https://replicate.delivery/xezq/6PQNCxABftQ2UCVJliFwHzRuJUfTMZIudXvygfED2IcYE8XqA/tmp7o_pfuml.jpg',
 'https://replicate.delivery/xezq/yQKGSBdWEyaJMpB0J3wAA2Tgu0qOgbPxdcS5m8K6Z8BjgflKA/tmpxgo9742v.jpg',
 'https://replicate.delivery/xezq/fbCCfpzYuhiLREhtxarjCZnxxElepuf2ck90GxTzcCyzI4vUB/tmp4ml01zoz.jpg',
 'https://replicate.delivery/xezq/vBf0LnYRPfl2C0RPcXW4Nrza4U1gbeHLokboaAiPBy1YE8XqA/tmpqhiqb_lb.jpg',
 'https://replicate.delivery/xezq/BB8ddeGt0Y21BqrwEUrobQCJisJWN4mGqeCU8fZzaZhYE8XqA/tmpcq66l8sk.jpg',
 'https://replicate.delivery/xezq/kSUXqpOL5pYgCFH3TeBkzaiBQWDUTJ0GWZm4EMvNYyaGBfLVA/tmph4p8awsb.jpg',
 'https://replicate.delivery/xezq/HfJfDVrHCqinM0IwUCsxp7dNkR7PRzmU8WasZqQSEfxYE8XqA/tmpzfg6oacr.jpg',
 'https://replicate.delivery/xezq/0RXxVvgDmSqDDF2tJBotG3gxIeDFFEOUauFYA0BoyxLGBfLVA/tmp1ou27g6k.jpg',
 'https://replicate.delivery/xezq/4Kzaqgh008o7HxZ4DZsIJN8TIJWdJb0u5eccqXc94sGGBfLVA/tmpbgzc25mr.jpg',
 'https://replicate.delivery/xezq/I1tIfePcJzkqc0mKBBanSfh0hyxyEF9lcVSxNDn6GOcZE8XqA/tmp6_30yx84.jpg',
 'https://replicate.delivery/xezq/7r0jKbJt497GFB2Bf7O6J3ADlZGNsASyauFxxbTvOXXGBfLVA/tmpzgd3zoyh.jpg',
 'https://replicate.delivery/xezq/tMaJe87XtESLV6E7JBx6FWpee0Adqk7re6KLRsrR1swzI4vUB/tmpjg6m_6f2.jpg',
 'https://replicate.delivery/xezq/j6hBzC1xrsL8ApluKZvMliUi2CfuYBB00ufzlgOs0CgMCeXqA/tmpwnns7pkr.jpg',
 'https://replicate.delivery/xezq/tbPXsGTBnBqZGlBPZVRlVDBe7zVAvky9Y54Zzhl7HGJGBfLVA/tmp91qfvvi8.jpg',
 'https://replicate.delivery/xezq/1cJh11psDiZrK1PkLeisHcNw0RQ5BQFEjWbvDf4bMGqNCeXqA/tmpji2otote.jpg',
 'https://replicate.delivery/xezq/3f0lHQYRWU2qZKEyn0Jei4m3lx9qj31d2ZObCBAoRgWNCeXqA/tmp8kdwpgyw.jpg',
 'https://replicate.delivery/xezq/aAwvCCeb0WQfg0Z4MjqdVQ7geO9C57Jx1UpZ49jfelZvRwfSF/tmpvuh_6h2f.jpg',
 'https://replicate.delivery/xezq/lWmhhZ8fu3U7Wy6mpc8TKZK5sVRewDXyGX02NKexaVWaE8XqA/tmposrbxoy4.jpg',
 'https://replicate.delivery/xezq/aLHHQzJqAorwMhH4pu6xGjoFXR3XN0iCp4Tv26bFjPfGBfLVA/tmp5t4csywn.jpg']