fofr/kontext-and-claude

Use claude to write prompts for flux kontext

Public
600 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
image
string
The image to modify
instruction
string
Make it weird
None
run_vanilla_kontext
boolean
False
An option to also run the vanilla Kontext pro model with instruction, to compare with Claude's
system_prompt
None
default
None
custom_system_prompt
string
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']