aiRight
  • whitepaper
    • Introduction
    • Features/Services
    • Terminologies
    • Tokenomics
    • How to get CW20AIRI and native ORAI token
  • Services and Integration
    • AI Blockchain Oracle - NFT Authenticity Verification
      • Get your NFT Authenticated Directly
      • Get the NFT Authenticity Verifying report via API
    • NFT Staking Infrastructure
    • No gas-fee NFT Marketplace with Authenticated NFT & Royalty Protocol for creators
    • NFT ownership verification for Discord membership
    • AI Service
      • Flux
      • Stable Diffusion (SD) And Stable Diffusion XL (SDXL)
      • DALL-E 2&3
  • Guideline/Tutorials
    • How do I create an aiRight account?
    • How to buy ORAI and AIRI token
    • How to bridge BEP20 AIRI <=> CW20 AIRI
    • How do I mint an authenticated NFT on aiRight?
    • Selling/Buying an NFT using aiRight
    • How to participate in the NFT Staking on aiRight?
    • How to join private channel on aiRight Hangout server?
    • Approve the new market contract
    • How to create a collection on aiRight?
Powered by GitBook
On this page
  1. Services and Integration
  2. AI Service

Flux

PreviousAI ServiceNextStable Diffusion (SD) And Stable Diffusion XL (SDXL)

Last updated 8 months ago

  • Image Generation API:

    This API allows you to generate images from textual descriptions using the Flux model.

  • Try it out

    Get your API key at the following site:

  • How to use

    • Please call the following endpoint with a POST request:

    • The headers of the request must include an API key in the x-api-key field. The body of the request must be multipart/form-data, and the accept header should be set application/json

  • Parameters:

    • callback: (required) an api url that we can call by POST method to return the result after the image is generated.


    • modelId: (required) The Model ID is what we use to set default values for optional parameters. Its value is 133


    • prompt: (required) A textual description of the desired image. More specific and detailed prompts yield better results.


    • width, height: (optional) The dimensions of the generated image. Default is 512.

  • Response:

    The API returns the job ID which you can get the result by calling the api if we are unable to call the callback url to send you the response.

https://airight.io/api-key
https://developers.airight.io/nft-market-backend-service/sdk/models/flux
https://developers.airight.io/nft-market-backend-service/sdk/art/{id}