SmartGen
Overview
Basic Example
import Xalora from 'xalora';
const xalora = new Xalora({
apiKey: process.env['XALORA_API_KEY']
});
const response = await xalora.smartgen.generateImage({
description: "A futuristic cyberpunk portrait of a young woman",
image_model: "FLUX.1-dev",
stylization_level: 3,
detail_level: 4,
color_level: 5,
lighting_level: 2
});Parameters and Controls
Two-Step Generation
Response Type in Parameter-only Mode (param_only set to true)
param_only set to true)One-Step Generation
Demonstration
Last updated