Supermachine icon

Supermachine

Interact with Supermachine AI Image API

Image → Generate an Image

AI-generated

Summary

Generate an image via Supermachine API v1 with a prompt and model, optionally custom dimensions, LoRAs, negative prompt, and control parameters. Returns a batch ID; default polls for completion and returns the generated image data, or returns immediately if skipPolling is true.

Inputs

  • model (required) — Model AI dùng để generate ảnh. Choose from the list, or specify an ID using an expression.
  • prompt (required) — Mô tả ảnh muốn tạo
  • imageSize — Select image dimensions
  • width — Chiều rộng ảnh (pixels)
  • height — Chiều cao ảnh (pixels)
  • additionalFields — Additional Fields including negativePrompt, numberResults, outputFormat, seed, steps, cfgScale, folderId, loras, characterCategory, characterId, img2img
  • skipPolling — Whether to skip waiting for completion (return batchId immediately)
  • pollingInterval — Thời gian chờ giữa các lần check
  • maxPollingTime — Thời gian tối đa chờ

Output shape

object

The node returns an object containing batchId, finalPrompt, and the completed image data (url, filename, etc.) after polling. If skipPolling is true, it returns immediately with {batchId, status: 'submitted', prompt, model, submittedAt}.

Links

Discussion