FluxLora Workflow
Last updated
Last updated
Generate images from text descriptions using LoRA models with advanced AI.
This workflow extends the base ComfyUI Workflow functionality to support text-to-image generation using LoRA models.
Copy
Copy
3
FluxLora
Type: FluxLoraTask
workflow_id
string
true
The ID of the workflow to execute.
prompt
string
true
The prompt to use for the video generation.
lora_name
string
true
The name of the LoRA model to use.
width
number
false
The width of the image. Default is 680.
height
number
false
The height of the image. Default is 1024.
steps
number
false
The number of steps to use for the image generation. Default is 15.
noise_seed
number
false
The seed to use for the image generation. Default is 966993914913986.
job_id_prefix
string
false
An optional prefix for the job ID. Default is “sdk-workflow”.
timeout_seconds
number
false
The timeout for the task in seconds. If the task is not finished within the timeout, it will be canceled.
consumer_id
string
false
The ID of the consumer.
api_key
string
false
The API key of the consumer.
Type: WorkflowTaskResult
task_id
string
true
The ID of the executed task.
status
enum
true
The status of the task.
result
any
false
The result of the task, if available.
task_details
any
false
The details of the task, if available.
timeout_seconds
number
false
The timeout for the task in seconds.
workflow_id
string
false
The ID of the workflow that executed the task.
create_timestamp
number
false
The timestamp when the task was created.
inference_latency
number
false
The latency of the inference in seconds.
upload_latency
number
false
The latency of the upload in seconds.
Authentication uses a combined consumer ID and API key format: consumerId#apiKey
. You can provide these in two ways:
In the Xalora client initialization using environment variables:
Copy
In the FluxLoraTask
object, the task-specific values will override the client defaults if provided.
Copy
FluxLoraTask
A class representing a FluxLora task, extending the abstract WorkflowTask
class.
Copy
WorkflowTaskType
An enum representing the types of workflow tasks.
Copy