Actions26
- Account Actions
- Character Actions
- Folder Actions
- Image Actions
- Model Actions
- Tools Actions
Tools → Image to Prompt
AI-generatedSummary
Operation: imageToPrompt under resource tools. Generates a text prompt from an image using Supermachine's image-to-prompt tool. Inputs: imageSource (select Image ID or Image URL), then required imageId or imageUrl. Process: downloads image, base64-encodes, calls Supermachine API, returns generated prompt plus credit metadata. Returns: success, operation, tool, prompt, creditsCost, creditsRemaining, processedAt.
Inputs
- imageSource — Where to get the source image from
- imageId (required) — The ID of the image to analyze (shown when imageSource is imageId)
- imageUrl (required) — The URL of the image to analyze (shown when imageSource is imageUrl)
Output shape
object
Returns the generated prompt and processing metadata.