inclusionAI/TwinFlow

`inclusionAI/TwinFlow` powered by Hugging Face API - [Original Model Card](https://huggingface.co/inclusionAI/TwinFlow) - [`text-to-image` Task on Hugging Face](https://huggingface.co/tasks/text-to-i…

azureFoundry/HuggingFace/inclusionai-twinflow@1

inclusionAI/TwinFlow powered by Hugging Face API

Send Request

You can use cURL or any REST Client to send a request to the Azure ML endpoint with your Azure ML token.

curl <AZUREML_ENDPOINT_URL> \
    -X POST \
    -H "Authorization: Bearer <AZUREML_TOKEN>" \
    -H "Accept: image/png" \
    -H "Content-Type: application/json" \
    -d '{"inputs":"Astronaut riding a horse"}' \
    --output output.png

Supported Parameters

  • inputs (string): The input text data (sometimes called "prompt")
  • parameters (object):
    • guidance_scale (float): A higher guidance scale value encourages the model to generate images closely linked to the text prompt, but values too high may cause saturation and other artifacts.
    • negative_prompt (string): One prompt to guide what NOT to include in image generation.
    • num_inference_steps (integer): The number of denoising steps. More denoising steps usually lead to a higher quality image at the expense of slower inference.
    • width (integer): The width in pixels of the output image.
    • height (integer): The height in pixels of the output image.
    • scheduler (string): Override the scheduler with a compatible one.
    • seed (integer): Seed for the random number generator.

Check the full API Specification at the Hugging Face Inference API Documentation.

OpenAI Image Generation API

Additionally, the API also supports the OpenAI Image API Specification under the endpoint /v1/images/generations.

Specifications & capabilities

Input
text
Output
image
Published model ID
TwinFlow
Capabilities
imageOutput

Provider specifications & access

1–1 / 1

inclusionAI/TwinFlow ↗

source model id
HuggingFace/inclusionai-twinflow@1
hosting
foundry-managed-compute
platforms
  • Microsoft Foundry
license
apache-2.0
architecture
input_modalities
  • text
output_modalities
  • image
capabilities

    Original sources

    1–4 / 4

    Hugging Face · inclusionAI/TwinFlow ↗

    Microsoft Foundry · Model page ↗

    Microsoft Foundry · Model documentation ↗

    Microsoft Foundry · Catalog ↗

    Source links

    1–1 / 1

    Explore more models

    Models

    Loading
    EVIDENCE / COMPARISON

    Benchmarks

    Explore every benchmark

    Loading

    These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

    Install TensorTrace