
fofr / kontext-and-claude
Use claude to write prompts for flux kontext
- Public
- 501 runs
Run fofr/kontext-and-claude 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 |
---|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "The image to modify"
},
"instruction": {
"type": "string",
"title": "Instruction",
"default": "Make it weird",
"x-order": 1
},
"system_prompt": {
"enum": [
"default",
"exaggerated"
],
"type": "string",
"title": "system_prompt",
"description": "An enumeration.",
"default": "default",
"x-order": 3
},
"run_vanilla_kontext": {
"type": "boolean",
"title": "Run Vanilla Kontext",
"default": false,
"x-order": 2,
"description": "An option to also run the vanilla Kontext pro model with instruction, to compare with Claude's"
},
"custom_system_prompt": {
"type": "string",
"title": "Custom System Prompt",
"x-order": 4,
"description": "A custom system prompt to use for the Claude model"
}
}
}
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/12KdIpRMyDJ6NRQTX7jfehMeGlJebfPXAv1BTwEtfdrTDZ7PF/tmp51oemw6s.png']