
fofr/prompter

Generate prompts from a template
Public
10
runs
Run fofr/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 |
---|---|---|---|
template |
string
|
Template string (see https://prompter.fofr.ai)
|
|
count |
integer
|
5
Min: 1 Max: 50 |
Number of prompts to generate
|
fix_grammar |
boolean
|
False
|
Use gpt-5-nano to coerce prompts into short, terse grammatical prose
|
{
"type": "object",
"title": "Input",
"required": [
"template"
],
"properties": {
"count": {
"type": "integer",
"title": "Count",
"default": 5,
"maximum": 50,
"minimum": 1,
"x-order": 1,
"description": "Number of prompts to generate"
},
"template": {
"type": "string",
"title": "Template",
"x-order": 0,
"description": "Template string (see https://prompter.fofr.ai)"
},
"fix_grammar": {
"type": "boolean",
"title": "Fix Grammar",
"default": false,
"x-order": 2,
"description": "Use gpt-5-nano to coerce prompts into short, terse grammatical prose"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string"
},
"title": "Output"
}
Example API response
View prediction
['A film still of a dwarf, romance, 9.5mm film, night-for-day color grading, '
'film still, set in 1853',
'A film still of a centaur, reconciling differences, betamax, cross-processed '
'color grading, cinestill, set in 1959',
'A film still of a light wizard, building trust, 16mm film, desaturated color '
'grading, cinemascope, set in 1928',
'A film still of a troll, inspiring someone, cineon, color grading, flicker, '
'set in 2010',
'A film still of a mythical creature, wisdom transfer, cinemascope, vibrant '
'color grading, sharpen, set in 2010']