legnext-rust-sdk

Crates.iolegnext-rust-sdk
lib.rslegnext-rust-sdk
version1.0.0
created_at2026-01-14 01:55:29.078596+00
updated_at2026-01-14 01:55:29.078596+00
descriptionOfficial Rust client for the Legnext.ai Midjourney API. Generate images, videos, and more with AI.
homepagehttps://legnext.ai
repositoryhttps://github.com/legnext-ai/sdks
max_upload_size
id2041975
size231,625
(scretMark)

documentation

https://github.com/legnext-ai/sdks/tree/master/sdks/rust

README

Rust API client for openapi

Legnext.ai Midjourney API: The Ultimate AI Image Generation Toolkit

Unlock the full creative potential of Midjourney directly within your applications and development workflows using the Legnext.ai Midjourney API (Unofficial). This comprehensive collection offers a ready-to-integrate solution for professional image and video creation, manipulation, and high-fidelity upscaling.

We provide developers with stable, high-performance API access to the Midjourney model. Crucially, integrating our service requires no Midjourney account, eliminating the hassle of managing official subscriptions or Discord interactions. Our toolkit simplifies the entire text-to-image process, supporting complex prompts, aspect ratio adjustments, and advanced style parameters.

Focus on innovation while we handle the AI infrastructure. Start building scalable, visually stunning applications today with reliable access to the world’s leading generative AI model.

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.18.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named openapi and add the following to Cargo.toml under [dependencies]:

openapi = { path = "./openapi" }

Documentation for API Endpoints

All URIs are relative to https://api.legnext.ai

Class Method HTTP request Description

AccountManagementApi | api_account_balance_get | GET /api/account/balance | get account balance ImageApi | api_v1_blend_post | POST /api/v1/blend | Blend ImageApi | api_v1_describe_post | POST /api/v1/describe | Describe ImageApi | api_v1_diffusion_post | POST /api/v1/diffusion | Diffusion ImageApi | api_v1_edit_post | POST /api/v1/edit | Edit ImageApi | api_v1_inpaint_post | POST /api/v1/inpaint | Inpaint ImageApi | api_v1_outpaint_post | POST /api/v1/outpaint | Outpaint ImageApi | api_v1_pan_post | POST /api/v1/pan | Pan ImageApi | api_v1_remix_post | POST /api/v1/remix | Remix ImageApi | api_v1_reroll_post | POST /api/v1/reroll | Reroll ImageApi | api_v1_shorten_post | POST /api/v1/shorten | Shorten ImageApi | api_v1_upscale_post | POST /api/v1/upscale | Upscale ImageApi | api_v1_variation_post | POST /api/v1/variation | Variation VideoApi | api_v1_extend_video_post | POST /api/v1/extend-video | Extend Video VideoApi | api_v1_job_job_id_get | GET /api/v1/job/{job_id} | Get task response VideoApi | api_v1_video_diffusion_post | POST /api/v1/video-diffusion | Video Diffusion VideoApi | api_v1_video_upscale_post | POST /api/v1/video-upscale | Video Upscale

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

Commit count: 14

cargo fmt