이 페이지

이미지 생성

기본 경로: /v1

POST /img2img

이미지 투 이미지 생성을 처리합니다.

매개변수유형필수설명
sd_model_checkpointstringrequiredThe name of the model checkpoint.
promptstringrequiredThe text prompt.
init_imagesarray of stringsrequiredBase64-encoded initial images.
negative_promptstringoptionalThe negative prompt.
stepsintegeroptionalNumber of sampling steps. Limited by the model's maxSteps (default 40). vLLM-Omni maps this to num_inference_steps.
sampler_namestringoptionalSampling method for SD.Next models. vLLM-Omni models use a fixed sampler and ignore this field.
widthintegerrequiredOutput width in pixels. Must be a positive integer and a multiple of the model sizeMultiple when one is configured.
heightintegerrequiredOutput height in pixels. Must be a positive integer and a multiple of the model sizeMultiple when one is configured.
clip_skipintegeroptionalNumber of CLIP layers to skip.
seedintegeroptionalRandom seed.
cfg_scalenumberoptionalClassifier-Free Guidance scale. Limited by the model's maxCfgScale (default 30). vLLM-Omni maps this to guidance_scale.
flow_shiftnumberoptionalFlow-matching scheduler shift for vLLM-Omni models. Used for text-to-image; schedulers_shift is used as a fallback when this is omitted. Ignored by SD.Next and by vLLM-Omni img2img.
extra_paramsobjectoptionalModel-specific vLLM-Omni extras for text-to-image. Accepted keys: slg_layers, uncond_skip_layers (integer arrays, max 64 entries), slg_scale, slg_rescaling_scale (0-10), slg_start, slg_stop (0-1, start <= stop). Unknown keys return 400 for vLLM-Omni models; the field is dropped for SD.Next and mixed-engine models. Merged with model defaults for text-to-image; ignored by vLLM-Omni img2img/edits.
streambooleanoptionalAccepted for compatibility, but image generation responses are always returned as a single JSON payload.
batch_sizeintegeroptionalNumber of images to generate in a batch. Limited by the model's maxBatchSize when set. vLLM-Omni maps this to n.
denoising_strengthnumberoptionalDenoising strength for img2img. vLLM-Omni maps this to strength.
maskstringoptionalBase64-encoded mask for inpainting. vLLM-Omni forwards the mask to its multipart edits endpoint, but only pipelines that read mask_image (for example FLUX2 Klein) honor it; other edit models ignore it.
mask_blurintegeroptionalMask blur for inpainting. SD.Next-only; ignored by vLLM-Omni.
inpainting_fillintegeroptionalInpainting fill mode. SD.Next-only; ignored by vLLM-Omni.
inpaint_full_resbooleanoptionalWhether to inpaint at full resolution. SD.Next-only; ignored by vLLM-Omni.
inpaint_full_res_paddingintegeroptionalPadding for full-resolution inpainting. SD.Next-only; ignored by vLLM-Omni.
inpainting_mask_invertintegeroptionalWhether to invert the inpainting mask. SD.Next-only; ignored by vLLM-Omni.
initial_noise_multipliernumberoptionalInitial noise multiplier. SD.Next-only; ignored by vLLM-Omni.
detailer_enabledbooleanoptionalEnable the detailer.
detailer_promptstringoptionalPrompt for the detailer.
detailer_negativestringoptionalNegative prompt for the detailer.
detailer_stepsintegeroptionalSteps for the detailer.
detailer_strengthnumberoptionalStrength of the detailer.
detailer_modelstringoptionalModel for the detailer.
detailer_classesstringoptionalClasses for the detailer.
detailer_confnumberoptionalConfidence for the detailer.
detailer_maxintegeroptionalMax detections for the detailer.
detailer_iounumberoptionalIoU for the detailer.
detailer_paddingintegeroptionalPadding for the detailer.
detailer_blurintegeroptionalBlur for the detailer.
detailer_mergebooleanoptionalMerge mode for the detailer.
detailer_modelsarray of stringsoptionalDetailer model names to load (override_settings).
detailer_min_sizeintegeroptionalMinimum detailer bounding-box size (override_settings).
detailer_max_sizeintegeroptionalMaximum detailer bounding-box size (override_settings).
detailer_sigma_adjustnumberoptionalDetailer sigma adjustment (override_settings).
detailer_sigma_adjust_maxnumberoptionalMaximum detailer sigma adjustment (override_settings).
schedulers_rescale_betasbooleanoptionalRescale betas for schedulers.
schedulers_use_thresholdingbooleanoptionalUse thresholding for schedulers.
schedulers_sigmanumberoptionalSigma for schedulers.
schedulers_beta_schedulestringoptionalBeta schedule for schedulers.
scheduler_etanumberoptionalETA for schedulers.
schedulers_solver_orderintegeroptionalSolver order for schedulers.
schedulers_use_loworderbooleanoptionalUse the low-order solver (override_settings).
schedulers_prediction_typestringoptionalScheduler prediction type (override_settings).
schedulers_timestep_spacingstringoptionalScheduler timestep spacing (override_settings).
schedulers_beta_startnumberoptionalBeta start for schedulers.
schedulers_beta_endnumberoptionalBeta end for schedulers.
schedulers_timesteps_rangestringoptionalTimesteps range for schedulers.
schedulers_shiftnumberoptionalShift for schedulers.
schedulers_sigma_adjustbooleanoptionalSigma adjustment for schedulers.
schedulers_sigma_adjust_minnumberoptionalMin sigma adjustment.
schedulers_sigma_adjust_maxnumberoptionalMax sigma adjustment.
enable_hrbooleanoptionalEnable the SD.Next high-resolution fix pass. Ignored by vLLM-Omni.
hr_scalenumberoptionalHigh-resolution fix upscale factor. Ignored by vLLM-Omni.
hr_upscalerstringoptionalUpscaler used by the high-resolution fix pass. Ignored by vLLM-Omni.
hr_second_pass_stepsintegeroptionalSteps for the high-resolution fix pass. Ignored by vLLM-Omni.
hr_denoising_strengthnumberoptionalDenoising strength for the high-resolution fix pass. Ignored by vLLM-Omni.
refiner_steps / refiner_startinteger | numberoptionalRefiner pass steps and start fraction. Ignored by vLLM-Omni.
refiner_prompt / refiner_negativestringoptionalRefiner prompt and negative prompt. Ignored by vLLM-Omni.
ip_adapterarrayoptionalImage-prompt conditioning: list of {adapter, images (array of base64), scale, crop, start, end}. Requires a model with supportsIPAdapter; ignored by vLLM-Omni models.
1curl -X POST https://api.arliai.com/v1/img2img \
2-H "Content-Type: application/json" \
3-H "Authorization: Bearer your_api_key" \
4-d '{
5  "sd_model_checkpoint": "MODEL_NAME",
6  "init_images": ["base64_encoded_image"],
7  "prompt": "A painting of a cat in the style of Van Gogh",
8  "width": 1024,
9  "height": 1024
10}'

POST /txt2img

텍스트 투 이미지 생성을 처리합니다.

매개변수유형필수설명
sd_model_checkpointstringrequiredThe name of the model checkpoint.
promptstringrequiredThe text prompt.
negative_promptstringoptionalThe negative prompt.
stepsintegeroptionalNumber of sampling steps. Limited by the model's maxSteps (default 40). vLLM-Omni maps this to num_inference_steps.
sampler_namestringoptionalSampling method for SD.Next models. vLLM-Omni models use a fixed sampler and ignore this field.
widthintegerrequiredOutput width in pixels. Must be a positive integer and a multiple of the model sizeMultiple when one is configured.
heightintegerrequiredOutput height in pixels. Must be a positive integer and a multiple of the model sizeMultiple when one is configured.
clip_skipintegeroptionalNumber of CLIP layers to skip.
seedintegeroptionalRandom seed.
cfg_scalenumberoptionalClassifier-Free Guidance scale. Limited by the model's maxCfgScale (default 30). vLLM-Omni maps this to guidance_scale.
flow_shiftnumberoptionalFlow-matching scheduler shift for vLLM-Omni models. Used for text-to-image; schedulers_shift is used as a fallback when this is omitted. Ignored by SD.Next and by vLLM-Omni img2img.
extra_paramsobjectoptionalModel-specific vLLM-Omni extras for text-to-image. Accepted keys: slg_layers, uncond_skip_layers (integer arrays, max 64 entries), slg_scale, slg_rescaling_scale (0-10), slg_start, slg_stop (0-1, start <= stop). Unknown keys return 400 for vLLM-Omni models; the field is dropped for SD.Next and mixed-engine models. Merged with model defaults for text-to-image; ignored by vLLM-Omni img2img/edits.
streambooleanoptionalAccepted for compatibility, but image generation responses are always returned as a single JSON payload.
batch_sizeintegeroptionalNumber of images to generate in a batch. Limited by the model's maxBatchSize when set. vLLM-Omni maps this to n.
hr_sampler_namestringoptionalSampler name for high-res fix.
detailer_enabledbooleanoptionalEnable the detailer.
detailer_promptstringoptionalPrompt for the detailer.
detailer_negativestringoptionalNegative prompt for the detailer.
detailer_stepsintegeroptionalSteps for the detailer.
detailer_strengthnumberoptionalStrength of the detailer.
detailer_modelstringoptionalModel for the detailer.
detailer_classesstringoptionalClasses for the detailer.
detailer_confnumberoptionalConfidence for the detailer.
detailer_maxintegeroptionalMax detections for the detailer.
detailer_iounumberoptionalIoU for the detailer.
detailer_paddingintegeroptionalPadding for the detailer.
detailer_blurintegeroptionalBlur for the detailer.
detailer_mergebooleanoptionalMerge mode for the detailer.
detailer_modelsarray of stringsoptionalDetailer model names to load (override_settings).
detailer_min_sizeintegeroptionalMinimum detailer bounding-box size (override_settings).
detailer_max_sizeintegeroptionalMaximum detailer bounding-box size (override_settings).
detailer_sigma_adjustnumberoptionalDetailer sigma adjustment (override_settings).
detailer_sigma_adjust_maxnumberoptionalMaximum detailer sigma adjustment (override_settings).
schedulers_rescale_betasbooleanoptionalRescale betas for schedulers.
schedulers_use_thresholdingbooleanoptionalUse thresholding for schedulers.
schedulers_sigmanumberoptionalSigma for schedulers.
schedulers_beta_schedulestringoptionalBeta schedule for schedulers.
scheduler_etanumberoptionalETA for schedulers.
schedulers_solver_orderintegeroptionalSolver order for schedulers.
schedulers_use_loworderbooleanoptionalUse the low-order solver (override_settings).
schedulers_prediction_typestringoptionalScheduler prediction type (override_settings).
schedulers_timestep_spacingstringoptionalScheduler timestep spacing (override_settings).
schedulers_beta_startnumberoptionalBeta start for schedulers.
schedulers_beta_endnumberoptionalBeta end for schedulers.
schedulers_timesteps_rangestringoptionalTimesteps range for schedulers.
schedulers_shiftnumberoptionalShift for schedulers.
schedulers_sigma_adjustbooleanoptionalSigma adjustment for schedulers.
schedulers_sigma_adjust_minnumberoptionalMin sigma adjustment.
schedulers_sigma_adjust_maxnumberoptionalMax sigma adjustment.
enable_hrbooleanoptionalEnable the SD.Next high-resolution fix pass. Ignored by vLLM-Omni.
hr_scalenumberoptionalHigh-resolution fix upscale factor. Ignored by vLLM-Omni.
hr_upscalerstringoptionalUpscaler used by the high-resolution fix pass. Ignored by vLLM-Omni.
hr_second_pass_stepsintegeroptionalSteps for the high-resolution fix pass. Ignored by vLLM-Omni.
hr_denoising_strengthnumberoptionalDenoising strength for the high-resolution fix pass. Ignored by vLLM-Omni.
refiner_steps / refiner_startinteger | numberoptionalRefiner pass steps and start fraction. Ignored by vLLM-Omni.
refiner_prompt / refiner_negativestringoptionalRefiner prompt and negative prompt. Ignored by vLLM-Omni.
ip_adapterarrayoptionalImage-prompt conditioning: list of {adapter, images (array of base64), scale, crop, start, end}. Requires a model with supportsIPAdapter; ignored by vLLM-Omni models.
1curl -X POST https://api.arliai.com/v1/txt2img \
2-H "Content-Type: application/json" \
3-H "Authorization: Bearer your_api_key" \
4-d '{
5  "sd_model_checkpoint": "MODEL_NAME",
6  "prompt": "A beautiful landscape painting",
7  "steps": 20,
8  "width": 1024,
9  "height": 1024
10}'

POST /v1/images/generations

OpenAI-compatible image generation for vLLM-Omni models. model is required and must have a healthy vLLM-Omni server. Accepts prompt, negative_prompt, size (or the width/height aliases), n, seed, num_inference_steps, guidance_scale, true_cfg_scale, flow_shift, extra_params (SLG keys only), output_format, output_compression, generator_device, layers, resolution, strength, sigmas, num_frames, bot_task, system_prompt, use_system_prompt and return_stage_metrics. response_format is accepted but responses are always returned as data[].b64_json. n must be 1-10 and cannot exceed the model's maxBatchSize when one is configured. If size is omitted, the model default (usually 1024x1024) is used. SD.Next models use /v1/txt2img or /sdapi/v1/txt2img instead.

1curl -X POST https://api.arliai.com/v1/images/generations \
2-H "Content-Type: application/json" \
3-H "Authorization: Bearer your_api_key" \
4-d '{
5  "model": "MODEL_NAME",
6  "prompt": "A beautiful landscape painting",
7  "size": "1024x1024",
8  "n": 1,
9  "seed": 42,
10  "num_inference_steps": 30,
11  "guidance_scale": 3.0,
12  "response_format": "b64_json"
13}'

POST /v1/images/edits

OpenAI-compatible image editing for vLLM-Omni models whose supportsImg2Img capability is not false. model is required. Send multipart form data with one or more image/image[] files and optional mask_image or reference_image. JSON callers can instead send base64 image, images, init_images, mask or mask_image. Edits accept prompt, negative_prompt, size (defaults to the input image or auto), n, num_inference_steps, guidance_scale, true_cfg_scale, strength, seed, generator_device, layers, resolution, output_format, output_compression, bot_task, system_prompt and return_stage_metrics. flow_shift and extra_params (SLG keys only) are text-to-image only and are not applied to edits. Models without edit support (for example MOSS-Image-SFT) return a validation error.

1curl -X POST https://api.arliai.com/v1/images/edits \
2-H "Authorization: Bearer your_api_key" \
3-F "model=MODEL_NAME" \
4-F "prompt=Turn the background into a sunset" \
5-F "image=@input.png" \
6-F "size=1024x1024" \
7-F "strength=0.7" \
8-F "response_format=b64_json"

GET /v1/images/models

Lists the image models available to your API key in OpenAI model-list format ({ object: "list", data: [{ id, object, created, owned_by }] }). Only models with a healthy vLLM-Omni server are returned. Use GET /v1/img-models for the full catalog metadata (engine, per-model limits, capability flags, and curated defaults). vLLM-Omni models can also be called through /sdapi/v1/txt2img and /v1/txt2img, where the backend translates the SDNext request and response shapes.

POST /v1/control

ControlNet-guided generation for SD.Next models: generate an image conditioned by one or more control units (ControlNet, T2I-Adapter, ControlNet-XS, ControlLLLite, Reference). Requires a model whose supportsControl capability is not false. vLLM-Omni models are not eligible for this endpoint and return 503. Preprocessors can run server-side on the uploaded source image per unit, and optional init-image editing (input_type 1/2), IP-Adapter, and detailer refinement are supported. The response mirrors the other generation endpoints: images (base64 outputs), processed (preprocessed control maps), and info.

매개변수유형필수설명
sd_model_checkpointstringrequiredThe name of the model checkpoint (must support ControlNet generation).
promptstringrequiredThe text prompt.
negative_promptstringoptionalThe negative prompt.
Control Units
controlarrayrequiredList of control units. At least one enabled unit with an image is required. See control[] fields below.
unit_typestringoptionalControl unit family used by units that don't set their own: 'controlnet', 't2i adapter', 'xs', 'lite', or 'reference'. Default: 'controlnet'.
control[].unit_typestringoptionalPer-unit type override: 'controlnet', 't2i adapter', 'xs', 'lite', or 'reference'. Defaults to the request-level unit_type.
control[].processstringoptionalPreprocessor to run on the unit image (e.g. "Canny", "OpenPose", "Depth Anything"). Empty/None uses the image as-is. List via GET /v1/preprocessors.
control[].modelstringoptionalControl model file name for the unit type (e.g. "Canny XL", "OpenPose XL"). List via GET /v1/control-models.
control[].imagestringoptionalBase64-encoded source image for the unit. When a process is set, the server preprocesses it once; otherwise it is used as the control map directly.
control[].overridestringoptionalBase64-encoded control image that takes priority over image. If a process is set, the server runs that preprocessor on this image; leave process empty to use it as an already-processed control map.
inputsarray of stringsoptionalBase64-encoded control input images. The server runs the preprocessor for each active unit on these images; use control[].image or control[].override for per-unit images.
control[].strengthnumberoptionalHow strongly the control model influences generation (0.0-2.0). Default 1.0.
control[].startnumberoptionalStep fraction at which control begins (0.0-1.0). Default 0.0.
control[].endnumberoptionalStep fraction at which control ends (0.0-1.0). Default 1.0.
control[].modestringoptionalControl mode for Union/ProMax models. List valid modes via GET /v1/control-modes.
control[].guessbooleanoptionalGuess mode: remove the need for a prompt (ControlNet only).
control[].factornumberoptionalConditioning scale factor (T2I-Adapter only). Default 1.0.
control[].attentionstringoptionalAttention mechanism: 'Attention', 'Adain', or 'Attention Adain' (Reference units).
control[].fidelitynumberoptionalStyle fidelity 0.0-1.0 (Reference units). Default 0.5.
control[].query_weightnumberoptionalAttention query weight (Reference units). Default 1.0.
control[].adain_weightnumberoptionalAdaIN weight (Reference units). Default 1.0.
control[].process_paramsobjectoptionalPer-unit preprocessor parameter overrides, e.g. {"low_threshold": 50, "high_threshold": 150} for Canny.
Generation
sampler_namestringoptionalSampling method.
stepsintegeroptionalNumber of sampling steps. Limited by the model's maxSteps (default 40).
seedintegeroptionalRandom seed (-1 = random).
cfg_scalenumberoptionalClassifier-Free Guidance scale. Limited by the model's maxCfgScale (default 30).
batch_sizeintegeroptionalNumber of images to generate in a batch. Limited by the model's maxBatchSize when set.
Init Image Editing
input_typeintegeroptional0 = control only, 1 = init image same as the first control image, 2 = separate init image. Default 0.
init_controlarray of stringsoptionalBase64-encoded init image(s) when input_type is 1 or 2. Merged with inits when both are provided.
initsarray of stringsoptionalBase64-encoded init image(s) (low-level alias).
maskstringoptionalBase64-encoded mask for inpaint-style edits.
denoising_strengthnumberoptionalDenoising strength when editing an init image.
Size
width_beforeintegeroptionalInitial/control image resolution width. Defaults to the control image size.
height_beforeintegeroptionalInitial/control image resolution height. Defaults to the control image size.
width_afterintegeroptionalPost-generation resolution width.
height_afterintegeroptionalPost-generation resolution height.
width_maskintegeroptionalMask resolution width.
height_maskintegeroptionalMask resolution height.
IP-Adapter
ip_adapterarrayoptionalImage-prompt conditioning: list of {adapter, images (array of base64), scale, crop, start, end}. Requires supportIpAdapter model.
Detailer
detailer_enabledbooleanoptionalEnable the face/detailer refinement pass.
detailer_promptstringoptionalPrompt for the detailer.
detailer_negativestringoptionalNegative prompt for the detailer.
detailer_stepsintegeroptionalSteps for the detailer.
detailer_strengthnumberoptionalStrength of the detailer.
detailer_model / detailer_modelsstring | arrayoptionalDetailer model name(s) (override_settings).
detailer_conf / detailer_iounumberoptionalDetailer detection confidence / IoU thresholds (override_settings).
detailer_max / detailer_min_size / detailer_max_sizeintegeroptionalDetailer bbox size limits (override_settings).
detailer_padding / detailer_blurintegeroptionalDetailer face padding / blur (override_settings).
detailer_merge / detailer_sigma_adjust / detailer_sigma_adjust_maxboolean | numberoptionalDetailer merge mode and sigma adjustment (override_settings).
Schedulers
schedulers_rescale_betasbooleanoptionalRescale betas for schedulers.
schedulers_use_thresholdingbooleanoptionalUse thresholding for schedulers.
schedulers_sigmanumberoptionalSigma for schedulers.
schedulers_beta_schedulestringoptionalBeta schedule for schedulers.
scheduler_etanumberoptionalETA for schedulers.
schedulers_solver_orderintegeroptionalSolver order for schedulers.
schedulers_use_loworderbooleanoptionalUse low-order solver.
schedulers_prediction_typestringoptionalPrediction type for schedulers.
schedulers_timestep_spacingstringoptionalTimestep spacing for schedulers.
1curl -X POST https://api.arliai.com/v1/control \
2-H "Content-Type: application/json" \
3-H "Authorization: Bearer your_api_key" \
4-d '{
5  "sd_model_checkpoint": "MODEL_NAME",
6  "prompt": "a person standing in front of an ancient castle, dramatic lighting",
7  "negative_prompt": "blurry, low quality",
8  "steps": 20,
9  "seed": -1,
10  "cfg_scale": 6.0,
11  "unit_type": "controlnet",
12  "control": [
13    {
14      "unit_type": "controlnet",
15      "process": "Canny",
16      "model": "Canny XL",
17      "image": "base64_encoded_control_image",
18      "strength": 1.0,
19      "start": 0.0,
20      "end": 1.0,
21      "process_params": { "low_threshold": 100, "high_threshold": 200 }
22    }
23  ],
24  "input_type": 0,
25  "width_before": 1024,
26  "height_before": 1024
27}'

POST /v1/preprocess

Run a single control preprocessor (e.g. Canny, OpenPose, Depth Anything) on a raw image and return the resulting control map. This endpoint is SD.Next-only; vLLM-Omni models return 503. Use it to prepare control maps before calling /v1/control with the map as a unit image, or to preview what a preprocessor produces.

매개변수유형필수설명
modelstringrequiredPreprocessor name (e.g. "Canny", "OpenPose", "Depth Anything", "MLSD"). List available names via GET /v1/preprocessors.
imagestringrequiredBase64-encoded input image to preprocess.
paramsobjectoptionalPreprocessor parameter overrides, e.g. {"low_threshold": 50, "high_threshold": 150} for Canny. Keys must match the preprocessor config.
1curl -X POST https://api.arliai.com/v1/preprocess \
2-H "Content-Type: application/json" \
3-H "Authorization: Bearer your_api_key" \
4-d '{
5  "model": "Canny",
6  "image": "base64_encoded_image",
7  "params": { "low_threshold": 100, "high_threshold": 200 }
8}'

POST /upscale-img

단일 이미지를 업스케일합니다.

매개변수유형필수설명
imagestringrequiredThe base64-encoded image to upscale.
upscaler_1stringoptionalThe name of the upscaler to use.
resize_modeintegeroptionalThe resize mode.
upscaling_resizenumberoptionalThe factor by which to resize the image.
1curl -X POST https://api.arliai.com/v1/upscale-img \
2-H "Content-Type: application/json" \
3-H "Authorization: Bearer your_api_key" \
4-d '{
5  "image": "base64_encoded_image",
6  "upscaler_1": "Lanczos"
7}'

POST /caption

이미지에서 설명 프롬프트(OpenCLIP/BLIP)를 생성합니다.

매개변수유형필수설명
imagestringrequiredThe base64-encoded image to generate a caption from.
modelstringrequiredThe caption model to use (available via GET /caption/models).
modestringoptionalCaption mode: 'best', 'fast', 'classic', 'caption', or 'negative'.
analyzebooleanoptionalWhen true, also returns medium, artist, movement, trending, and flavor.
1curl -X POST https://api.arliai.com/v1/caption \
2-H "Content-Type: application/json" \
3-H "Authorization: Bearer your_api_key" \
4-d '{
5  "model": "MODEL_NAME",
6  "mode": "best",
7  "image": "base64_encoded_image"
8}'

POST /tagger

이미지에 대한 booru 스타일 태그(WaifuDiffusion/DeepBooru)를 생성합니다.

매개변수유형필수설명
imagestringrequiredThe base64-encoded image to tag.
modelstringrequiredThe tagger model to use (available via GET /tagger/models).
thresholdnumberoptionalMinimum general confidence to include a tag (default 0.50).
character_thresholdnumberoptionalMinimum character confidence to include a tag (default 0.85).
max_tagsintegeroptionalMaximum number of tags to return (default 74).
include_ratingbooleanoptionalInclude rating tags (general, sensitive, questionable, explicit).
sort_alphabooleanoptionalSort tags alphabetically instead of by confidence.
use_spacesbooleanoptionalUse spaces instead of underscores between words.
escape_bracketsbooleanoptionalEscape brackets so tags are prompt-safe (default true).
exclude_tagsstringoptionalComma-separated tags to always exclude.
show_scoresbooleanoptionalInclude per-tag confidence scores in the response.
1curl -X POST https://api.arliai.com/v1/tagger \
2-H "Content-Type: application/json" \
3-H "Authorization: Bearer your_api_key" \
4-d '{
5  "model": "MODEL_NAME",
6  "image": "base64_encoded_image"
7}'

이미지 모델 및 옵션

GET /v1/img-models

사용 가능한 이미지 생성 모델을 검색합니다. 매개변수가 없습니다.

1curl -X GET https://api.arliai.com/v1/img-models \
2-H "Authorization: Bearer your_api_key"

GET /upscalers

사용 가능한 업스케일러를 검색합니다. 매개변수가 없습니다.

1curl -X GET https://api.arliai.com/v1/upscalers \
2-H "Authorization: Bearer your_api_key"

GET /caption/models

계정에서 사용할 수 있는 캡션 모델을 검색합니다. 매개변수가 없습니다.

1curl -X GET https://api.arliai.com/v1/caption/models \
2-H "Authorization: Bearer your_api_key"

GET /tagger/models

계정에서 사용할 수 있는 태거 모델을 검색합니다. 매개변수가 없습니다.

1curl -X GET https://api.arliai.com/v1/tagger/models \
2-H "Authorization: Bearer your_api_key"

GET /img-options

이미지 생성 체크포인트 식별자를 검색합니다. sd_model_checkpoint만 반환되며 다른 SD.Next 옵션은 노출되지 않습니다. 매개변수가 없습니다.

1curl -X GET https://api.arliai.com/v1/img-options \
2-H "Authorization: Bearer your_api_key"

GET /img-samplers

사용 가능한 이미지 샘플러를 검색합니다. 매개변수가 없습니다.

1curl -X GET https://api.arliai.com/v1/img-samplers \
2-H "Authorization: Bearer your_api_key"

GET /v1/ip-adapters

Lists SD.Next IP-Adapter models available for the selected checkpoint. Pass the model via the model query parameter to resolve availability for the requested architecture; without it the server falls back to its loaded checkpoint. Returns an empty array for vLLM-Omni-only models and for models with supportsIPAdapter: false.

1curl -X GET "https://api.arliai.com/v1/ip-adapters?model=MODEL_NAME" \
2-H "Authorization: Bearer your_api_key"

GET /v1/control-models

Lists SD.Next control models for a control unit type. Query parameters: model (selected checkpoint; optional — defaults to the server's loaded checkpoint) and unit_type (controlnet, t2i adapter, xs, lite, or reference). Returns an empty array for vLLM-Omni-only models.

1curl -X GET "https://api.arliai.com/v1/control-models?model=MODEL_NAME&unit_type=controlnet" \
2-H "Authorization: Bearer your_api_key"

GET /v1/preprocessors

Lists SD.Next control preprocessors (name, group, and their configurable parameters). Returns an empty array for vLLM-Omni-only models. Optionally scoped to the selected checkpoint via ?model=.

1curl -X GET "https://api.arliai.com/v1/preprocessors?model=MODEL_NAME" \
2-H "Authorization: Bearer your_api_key"

GET /v1/control-modes

Lists the SD.Next control modes (Union/ProMax predefines) available for the selected checkpoint via ?model=. Returns a map of control model name to available modes, or an empty array for vLLM-Omni-only models.

1curl -X GET "https://api.arliai.com/v1/control-modes?model=MODEL_NAME" \
2-H "Authorization: Bearer your_api_key"