public interface ImagesApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.rxjava3.core.Single<ImageResult> |
createImage(CreateImageRequest request)
Generate images from text prompts using CogView-3-Plus Creates high-quality images
based on textual descriptions with advanced semantic understanding Supports complex
scene composition, lighting effects, and accurate Chinese character rendering
Optimized for both artistic creation and practical image generation needs
|
io.reactivex.rxjava3.core.Single<AsyncImageResult> |
createImageAsync(CreateImageRequest request)
Asynchronously generate images from text prompts.
|
io.reactivex.rxjava3.core.Single<AsyncImageResult> |
queryAsyncResult(String id)
Query the status and result of an async image generation task.
|
@POST(value="images/generations") io.reactivex.rxjava3.core.Single<ImageResult> createImage(@Body CreateImageRequest request)
request - Image generation parameters including prompt, size, style, quality,
and model selection@POST(value="async/images/generations") io.reactivex.rxjava3.core.Single<AsyncImageResult> createImageAsync(@Body CreateImageRequest request)
request - Image generation parameters including prompt, size, style, quality,
and model selection@GET(value="async-result/{id}")
io.reactivex.rxjava3.core.Single<AsyncImageResult> queryAsyncResult(@Path(value="id")
String id)
id - The async task ID returned by createImageAsyncCopyright © 2026. All rights reserved.