Generates images with the Flux.1 Schnell model through the Together AI API, with adjustable generation parameters.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add together-flux --env TOGETHER_API_KEY='<TOGETHER_API_KEY>' -- npx 'together-mcp@latest -y'~/.codex/config.toml
[mcp_servers.together-flux]
command = "npx"
args = ["together-mcp@latest -y"]
env = { TOGETHER_API_KEY = "<TOGETHER_API_KEY>" }
# codex mcp add together-flux --env TOGETHER_API_KEY='<TOGETHER_API_KEY>' -- npx 'together-mcp@latest -y'~/.cursor/mcp.json
{
"mcpServers": {
"together-flux": {
"command": "npx",
"args": [
"together-mcp@latest -y"
],
"env": {
"TOGETHER_API_KEY": "<TOGETHER_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"together-flux": {
"type": "stdio",
"command": "npx",
"args": [
"together-mcp@latest -y"
],
"env": {
"TOGETHER_API_KEY": "<TOGETHER_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"together-flux": {
"command": "npx",
"args": [
"together-mcp@latest -y"
],
"env": {
"TOGETHER_API_KEY": "<TOGETHER_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"together-flux": {
"command": "npx",
"args": [
"together-mcp@latest -y"
],
"env": {
"TOGETHER_API_KEY": "<TOGETHER_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"together-flux": {
"command": "npx",
"args": [
"together-mcp@latest -y"
],
"env": {
"TOGETHER_API_KEY": "<TOGETHER_API_KEY>"
}
}
}
}Environment variables
TOGETHER_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.