Skip to main content
Glama

FluxSocial

generate_image

Generate an AI image for a specific content suggestion. Costs 50 credits. When called without a customPrompt, the API automatically uses the suggestion's stored imagePrompts[imageIndex] — no need to pass the prompt manually. Call this after generate_content once the user picks a suggestion. For carousel posts, use imageIndex for each slide (0-based).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesSuggestion ID to generate an image for (from generate_content)
imageIndexNoImage slide index (0-based). Use 0 for single images, 0-N for carousel slides. Defaults to 0.
customPromptNoOptional custom image prompt. If omitted, uses the auto-generated prompt from the suggestion's Content DNA analysis.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources