Class: ModuleWorkflow
Extends
Implements
Constructors
Constructor
Copied to your clipboardnew ModuleWorkflow(actionManager, context): ModuleWorkflow;
Parameters
| Parameter | Type |
|---|---|
actionManager | ActionManager |
context | SDKContext |
Returns
ModuleWorkflow
Inherited from
Methods
editImage()
Copied to your clipboardeditImage(docConfig,appConfig?,exportConfig?,containerConfig?): void;
Perform editing tasks on any image.
Parameters
| Parameter | Type | Description |
|---|---|---|
docConfig | pass an asset to preload on to the Editor | |
appConfig? | - | |
exportConfig? | properties to configure the export options | |
containerConfig? | properties to configure the SDK container |
Returns
void
Implementation of
createImageFromText()
Copied to your clipboardcreateImageFromText(appConfig?,exportConfig?,containerConfig?): void;
Generate images by just passing a text prompt.
Parameters
| Parameter | Type | Description |
|---|---|---|
appConfig? | Pass a text prompt to generate images. | |
exportConfig? | properties to configure the export options | |
containerConfig? | properties to configure the SDK container |
Returns
void
Implementation of
ModuleWorkflow.createImageFromText
startFromContent()
Copied to your clipboardstartFromContent(appConfig?,exportConfig?,containerConfig?): void;
Open the Start From Content module.
Parameters
| Parameter | Type | Description |
|---|---|---|
appConfig? | properties to configure the Start From Content module | |
exportConfig? | properties to configure the export options | |
containerConfig? | properties to configure the SDK container |
Returns
void
Implementation of
ModuleWorkflow.startFromContent
