cc-everywhere

Class: ModuleWorkflow

Extends

Implements

Constructors

Constructor

new ModuleWorkflow(actionManager, context): ModuleWorkflow;

Parameters

Parameter
Type
actionManager
ActionManager
context
SDKContext

Returns

ModuleWorkflow

Inherited from

BaseWorkflow.constructor

Methods

editImage()

editImage(
   docConfig, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Perform editing tasks on any image.

Parameters

Parameter
Type
Description
docConfig
EditImageDocConfig
pass an asset to preload on to the Editor
appConfig?
EditImageAppConfig
-
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

ModuleWorkflow.editImage

createImageFromText()

createImageFromText(
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Generate images by just passing a text prompt.

Parameters

Parameter
Type
Description
appConfig?
TextToImageAppConfig
Pass a text prompt to generate images.
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

ModuleWorkflow.createImageFromText

startFromContent()

startFromContent(
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Open the Start From Content module.

Parameters

Parameter
Type
Description
appConfig?
StartFromContentAppConfig
properties to configure the Start From Content module
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

ModuleWorkflow.startFromContent