Changelog
A comprehensive list of changes published to the API reference
4th December, 2024
Features
Added support for ControlNet/Pose Lock on Flux Models and Styles.
APIs
- Head over to List Controlnets API
GET /pub/v1/controlnets?type=flux
and you will see new controlnets for the Flux model.
Response
- Use the
control_net
in the request body ofPOST /pub/v1/generations
with flux models and styles to generate images with ControlNet/Pose Lock
When using control_net
with Flux Model or Style, please note that the output image’s aspect ratio will automatically match the aspect ratio of the ControlNet reference image (specified by asset_id), regardless of any other aspect ratio settings.
resize_mode
and control_mode
are not supported for control_net
when used with Flux Model or Style.
8th November, 2024
Features
Added support for Flux Generation.
APIs
flux
model support in the request body ofPOST /pub/v1/generations
.Example requestflux
style in the request body ofPOST /pub/v1/generations
.Example request- Added
style_detail
field along withstyle
in response body ofPOST /pub/v1/generations
.Example response type
support in the query param ofGET /pub/v1/models
,GET /pub/v1/styles
,GET /pub/v1/controlnets
andGET /pub/v1/loras
.Example
4th September, 2024
Features
Added support for Narrator Generation.
APIs
-
Added
narrator
to the request body ofPOST /pub/v1/generations
.Example request -
Changes to the response in the following existing endpoints:
- Generate Media
POST /pub/v1/generations
images
renamed tomedia
image_size
renamed todim
under data→mediatype
added under data→media
- List Generations
GET /pub/v1/generations
images
renamed tomedia
under data in response.size
renamed todim
under data→media in response.type
added under data→media in responseimage_id
changed tomedia_id
in Query Parameter
- Generate Media
Was this page helpful?