Divooka.DSL.ImageGeneration.Services
Divooka.DSL.ImageGeneration.Services.MethodoxComfyUI.ComfyUIAPIHelper
Divooka.DSL.ImageGeneration.Services.MethodoxComfyUI.ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration.AccessToken
Optional; Used by Methodox One service.
Divooka.DSL.ImageGeneration.Services.MethodoxComfyUI.ComfyUIAPIHelper.HistoryEntry
Top‐level entry: maps prompt_id → HistoryEntry
Divooka.DSL.ImageGeneration.Services.MethodoxComfyUI.ComfyUIAPIHelper.NodeDefinition
When you inspect Prompt[2], it's a map of node‑IDs → NodeDefinition
Divooka.DSL.ImageGeneration.Services.MethodoxComfyUI.ComfyUIAPIHelper.OutputDefinition
Outputs (“9” → images, etc.)
Divooka.DSL.ImageGeneration.Services.MethodoxComfyUI.ComfyUIAPIHelper.StatusDefinition
Status (“status_str”, “completed”, “messages”)
Divooka.DSL.ImageGeneration.Services.MethodoxComfyUI.ComfyUIAPIHelper.StatusDefinition.Messages
“messages” is an array of [ eventName, detailObject ], so capture each entry as a JsonElement[]
Divooka.DSL.ImageGeneration.Services.MethodoxComfyUI.ComfyUIAPIHelper.MetaInfo
Meta (node‐ID → info about that node in the UI)
Divooka.DSL.ImageGeneration.Services.OpenAIImageGen
Provides methods to generate images using Dall E and OpenAI multi-modals
Divooka.DSL.ImageGeneration.Services.OpenAIImageGen.GenerateImage()
Generate image using Dall-E.
Parameters
| Name | Description | Default |
|---|---|---|
prompt |
The user query. | |
size |
Output image size. For gpt-image-1, choose from 1024x1024, 1536x1024 (landscape), 1024x1536 (portrait), or auto (default value); For dall-e-2, choose from 256x256, 512x512, or 1024x1024; For dall-e-3, choose from 1024x1024, 1792x1024, or 1024x1792. | |
model |
Available models: gpt-image-1, dall-e-2 and dall-e-3 | |
configuration |
The OpenAI configuration settings. |
Returns
The generated image.
Divooka.DSL.ImageGeneration.Services.OpenAIImageGen.GenerateImageToFile()
Generate image using Dall-E and save to file.
Parameters
| Name | Description | Default |
|---|---|---|
prompt |
The user query. | |
filePath |
Path to the file. | |
size |
Output image size. For gpt-image-1, choose from 1024x1024, 1536x1024 (landscape), 1024x1536 (portrait), or auto (default value); For dall-e-2, choose from 256x256, 512x512, or 1024x1024; For dall-e-3, choose from 1024x1024, 1792x1024, or 1024x1792. | |
model |
Available models: gpt-image-1, dall-e-2 and dall-e-3 | |
configuration |
The OpenAI configuration settings. |
Returns
The generated image.
Divooka.DSL.ImageGeneration.Services.OpenAIImageGen.GenerateImageAsync()
Generates images from the provided prompt using DALL·E.
Parameters
| Name | Description | Default |
|---|---|---|
prompt |
Description of the desired image. | |
n |
Number of images to generate. | |
size |
Size of the generated images (e.g., 256x256, 512x512, 1024x1024). |
Returns
A list of URLs for the generated images.