# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, Xorbits Inc.
# This file is distributed under the same license as the Xinference package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Xinference\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-12-04 17:26+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: pt_BR <LL@li.org>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Generated-By: Babel 2.18.0\n"

#: ../../source/models/model_abilities/image.rst:5
msgid "Images"
msgstr "imagem"

#: ../../source/models/model_abilities/image.rst:7
msgid "Learn how to generate images with Xinference."
msgstr "Aprenda a usar o Xinference para gerar imagens."

#: ../../source/models/model_abilities/image.rst:11
msgid "Introduction"
msgstr "Introdução"

#: ../../source/models/model_abilities/image.rst:14
msgid "The Images API provides two methods for interacting with images:"
msgstr "A API de Images fornece dois métodos para interagir com imagens:"

#: ../../source/models/model_abilities/image.rst:17
msgid ""
"The Text-to-image endpoint create images from scratch based on a text "
"prompt."
msgstr ""
"O endpoint de texto para imagem cria imagens a partir do zero com base em "
"texto."

#: ../../source/models/model_abilities/image.rst:18
msgid ""
"The Image-to-image endpoint allows you to generate a variation of a given "
"image."
msgstr ""
"O endpoint de imagem para imagem permite que você gere variações de uma "
"imagem fornecida."

#: ../../source/models/model_abilities/image.rst:25
msgid "API ENDPOINT"
msgstr "Ponto de extremidade da API"

#: ../../source/models/model_abilities/image.rst:26
msgid "OpenAI-compatible ENDPOINT"
msgstr "Endpoint compatível com OpenAI"

#: ../../source/models/model_abilities/image.rst:28
msgid "Text-to-Image API"
msgstr ""

#: ../../source/models/model_abilities/image.rst:29
msgid "/v1/images/generations"
msgstr ""

#: ../../source/models/model_abilities/image.rst:31
msgid "Image-to-image API"
msgstr ""

#: ../../source/models/model_abilities/image.rst:32
msgid "/v1/images/variations"
msgstr ""

#: ../../source/models/model_abilities/image.rst:35
msgid "Supported models"
msgstr "Lista de modelos suportados"

#: ../../source/models/model_abilities/image.rst:37
msgid ""
"The Text-to-image API is supported with the following models in Xinference:"
msgstr "Text-to-image API no Xinference suporta os seguintes modelos:"

#: ../../source/models/model_abilities/image.rst:39
msgid "sd-turbo"
msgstr ""

#: ../../source/models/model_abilities/image.rst:40
msgid "sdxl-turbo"
msgstr ""

#: ../../source/models/model_abilities/image.rst:41
msgid "stable-diffusion-v1.5"
msgstr ""

#: ../../source/models/model_abilities/image.rst:42
msgid "stable-diffusion-xl-base-1.0"
msgstr ""

#: ../../source/models/model_abilities/image.rst:43
#: ../../source/models/model_abilities/image.rst:213
msgid "sd3-medium"
msgstr ""

#: ../../source/models/model_abilities/image.rst:44
#: ../../source/models/model_abilities/image.rst:215
#: ../../source/models/model_abilities/image.rst:252
msgid "sd3.5-medium"
msgstr ""

#: ../../source/models/model_abilities/image.rst:45
#: ../../source/models/model_abilities/image.rst:217
#: ../../source/models/model_abilities/image.rst:254
msgid "sd3.5-large"
msgstr ""

#: ../../source/models/model_abilities/image.rst:46
#: ../../source/models/model_abilities/image.rst:219
#: ../../source/models/model_abilities/image.rst:256
msgid "sd3.5-large-turbo"
msgstr ""

#: ../../source/models/model_abilities/image.rst:47
#: ../../source/models/model_abilities/image.rst:211
#: ../../source/models/model_abilities/image.rst:250
msgid "FLUX.1-schnell"
msgstr ""

#: ../../source/models/model_abilities/image.rst:48
#: ../../source/models/model_abilities/image.rst:209
#: ../../source/models/model_abilities/image.rst:248
msgid "FLUX.1-dev"
msgstr ""

#: ../../source/models/model_abilities/image.rst:49
msgid "Kolors"
msgstr ""

#: ../../source/models/model_abilities/image.rst:50
msgid "hunyuandit-v1.2"
msgstr ""

#: ../../source/models/model_abilities/image.rst:51
msgid "hunyuandit-v1.2-distilled"
msgstr ""

#: ../../source/models/model_abilities/image.rst:52
msgid "cogview4"
msgstr ""

#: ../../source/models/model_abilities/image.rst:53
#: ../../source/models/model_abilities/image.rst:221
#: ../../source/models/model_abilities/image.rst:258
#: ../../source/models/model_abilities/image.rst:292
msgid "Qwen-Image"
msgstr ""

#: ../../source/models/model_abilities/image.rst:55
msgid "Image-to-image supported models:"
msgstr "Lista de modelos suportados"

#: ../../source/models/model_abilities/image.rst:57
msgid "Flux.1-Kontext-dev"
msgstr ""

#: ../../source/models/model_abilities/image.rst:58
#: ../../source/models/model_abilities/image.rst:223
#: ../../source/models/model_abilities/image.rst:260
#: ../../source/models/model_abilities/image.rst:294
msgid "Qwen-Image-Edit"
msgstr ""

#: ../../source/models/model_abilities/image.rst:62
msgid "Quickstart"
msgstr "Início Rápido"

#: ../../source/models/model_abilities/image.rst:65
msgid "Text-to-image"
msgstr "Texto para imagem"

#: ../../source/models/model_abilities/image.rst:67
msgid ""
"The Text-to-image API mimics OpenAI's `create images API "
"<https://platform.openai.com/docs/api-reference/images/create>`_. We can try"
" Text-to-image API out either via cURL, OpenAI Client, or Xinference's "
"python client:"
msgstr ""
"Você pode tentar usar a API de Texto para Imagem por meio de cURL, OpenAI "
"Client ou Xinference."

#: ../../source/models/model_abilities/image.rst:121
msgid "Image-to-image"
msgstr "imagem para imagem"

#: ../../source/models/model_abilities/image.rst:123
msgid ""
"The Image-to-image API mimics OpenAI's `create image variation API "
"<https://platform.openai.com/docs/api-reference/images/createVariation>`_. "
"We can try image-to-image API out either via cURL, OpenAI Client, or "
"Xinference's python client:"
msgstr ""
"A API de imagem para imagem simula a `API de criação de variações de imagem "
"do OpenAI <https://platform.openai.com/docs/api-"
"reference/images/createVariation>`_. Podemos experimentar a API de imagem "
"para imagem usando cURL, o cliente OpenAI ou o cliente Python do Xinference."

#: ../../source/models/model_abilities/image.rst:176
msgid "Memory optimization for Large Image Models e.g. SD3-Medium, FLUX.1"
msgstr ""
"Otimização de memória para modelos de imagem grandes (por exemplo, "
"SD3-Medium, FLUX.1)"

#: ../../source/models/model_abilities/image.rst:180
msgid ""
"From v0.16.1, Xinference by default enabled quantization for large image "
"models like Flux.1 and SD3.5 series. So if your Xinference version is newer "
"than v0.16.1, You barely need to do anything to run those large image models"
" on GPUs with small memory."
msgstr ""
"A partir da v0.16.1, o Xinference ativa por padrão a quantização para "
"modelos de imagem grandes, como as séries Flux.1 e SD3.5. Se você estiver "
"usando uma versão do Xinference mais recente que a v0.16.1, não precisa "
"fazer nada para executar esses modelos de imagem grandes em máquinas com "
"pouca memória de GPU."

#: ../../source/models/model_abilities/image.rst:185
msgid "Useful extra parameters can be passed to launch including:"
msgstr "Argumentos adicionais úteis passados para carregar o modelo incluem:"

#: ../../source/models/model_abilities/image.rst:187
msgid ""
"``--cpu_offload True``: specifying ``True`` will offload the components of "
"the model to CPU during inference in order to save memory, while seeing a "
"slight increase in inference latency. Model offloading will only move a "
"model component onto the GPU when it needs to be executed, while keeping the"
" remaining components on the CPU."
msgstr ""
"``--cpu_offload True``: Quando ``True`` for especificado, os componentes do "
"modelo serão descarregados para a CPU durante a inferência para economizar "
"memória, o que resultará em um leve aumento na latência da inferência. O "
"descarregamento do modelo move os componentes para a GPU apenas quando "
"necessário para execução, mantendo os demais componentes na CPU."

#: ../../source/models/model_abilities/image.rst:191
msgid ""
"``--quantize_text_encoder <text encoder layer>``: We leveraged the "
"``bitsandbytes`` library to load and quantize the T5-XXL text encoder to "
"8-bit precision. This allows you to keep using all text encoders while only "
"slightly impacting performance."
msgstr ""
"``--quantize_text_encoder <text encoder layer>``：Utilizamos a biblioteca "
"``bitsandbytes`` para carregar e quantizar o codificador de texto T5-XXL em "
"precisão de 8 bits. Isso permite que você continue usando todo o codificador"
" de texto com um impacto mínimo no desempenho."

#: ../../source/models/model_abilities/image.rst:194
msgid ""
"``--text_encoder_3 None``, for sd3-medium, removing the memory-intensive "
"4.7B parameter T5-XXL text encoder during inference can significantly "
"decrease the memory requirements with only a slight loss in performance."
msgstr ""
"``--text_encoder_3 None``: para o sd3-medium, remover o T5-XXL, que possui "
"4,7 bilhões de parâmetros e é intensivo em memória durante a inferência, "
"pode reduzir significativamente os requisitos de memória, com apenas uma "
"leve perda de desempenho."

#: ../../source/models/model_abilities/image.rst:197
msgid "``--transformer_nf4 True``: use nf4 for transformer quantization."
msgstr "```--transformer_nf4 True```: Usar quantização nf4 no transformer."

#: ../../source/models/model_abilities/image.rst:198
msgid ""
"``--quantize``: Only work for MLX on Mac, Flux.1-dev and Flux.1-schnell will"
" switch to MLX engine on Mac, and ``quantize`` can be used to quantize the "
"model."
msgstr ""
"``--quantize`` : aplicável apenas ao mecanismo MLX no Mac. Flux.1-dev e "
"Flux.1-schnell utilizam o mecanismo MLX para computação no Mac, e "
"``quantize`` pode ser usado para quantizar o modelo."

#: ../../source/models/model_abilities/image.rst:201
msgid ""
"For WebUI, Just add additional parameters, e.g. add key ``cpu_offload`` and "
"value ``True`` to enable cpu offloading."
msgstr ""
"Para WebUI, basta adicionar parâmetros extras, como adicionar a chave "
"``cpu_offload`` e o valor ``True`` para ativar o descarregamento da CPU."

#: ../../source/models/model_abilities/image.rst:204
msgid "Below list default options that used from v0.16.1."
msgstr ""
"Abaixo estão listados os parâmetros usados por padrão a partir da v0.16.1."

#: ../../source/models/model_abilities/image.rst:207
#: ../../source/models/model_abilities/image.rst:246
#: ../../source/models/model_abilities/image.rst:290
msgid "Model"
msgstr "model"

#: ../../source/models/model_abilities/image.rst:207
msgid "quantize_text_encoder"
msgstr ""

#: ../../source/models/model_abilities/image.rst:207
msgid "quantize"
msgstr ""

#: ../../source/models/model_abilities/image.rst:207
msgid "transformer_nf4"
msgstr ""

#: ../../source/models/model_abilities/image.rst:209
#: ../../source/models/model_abilities/image.rst:211
msgid "text_encoder_2"
msgstr ""

#: ../../source/models/model_abilities/image.rst:209
#: ../../source/models/model_abilities/image.rst:211
#: ../../source/models/model_abilities/image.rst:217
#: ../../source/models/model_abilities/image.rst:219
msgid "True"
msgstr ""

#: ../../source/models/model_abilities/image.rst:209
#: ../../source/models/model_abilities/image.rst:211
#: ../../source/models/model_abilities/image.rst:213
#: ../../source/models/model_abilities/image.rst:215
#: ../../source/models/model_abilities/image.rst:221
#: ../../source/models/model_abilities/image.rst:223
msgid "False"
msgstr ""

#: ../../source/models/model_abilities/image.rst:213
#: ../../source/models/model_abilities/image.rst:215
#: ../../source/models/model_abilities/image.rst:217
#: ../../source/models/model_abilities/image.rst:219
msgid "text_encoder_3"
msgstr ""

#: ../../source/models/model_abilities/image.rst:213
#: ../../source/models/model_abilities/image.rst:215
#: ../../source/models/model_abilities/image.rst:217
#: ../../source/models/model_abilities/image.rst:219
#: ../../source/models/model_abilities/image.rst:221
#: ../../source/models/model_abilities/image.rst:223
msgid "N/A"
msgstr ""

#: ../../source/models/model_abilities/image.rst:221
#: ../../source/models/model_abilities/image.rst:223
msgid "text_encoder"
msgstr ""

#: ../../source/models/model_abilities/image.rst:228
msgid ""
"If you want to disable some quantization, just set the corresponding option "
"to False. e.g. for Web UI, set key ``quantize_text_encoder`` and value "
"``False`` and for command line, specify ``--quantize_text_encoder False`` to"
" disable quantization for text encoder."
msgstr ""
"Se você quiser desativar alguma quantização, basta definir a opção "
"correspondente como False. Por exemplo, para a interface Web, defina a chave"
" ``quantize_text_encoder`` e o valor ``False``, ou, para a linha de comando,"
" especifique ``--quantize_text_encoder False`` para desativar a quantização "
"do codificador de texto."

#: ../../source/models/model_abilities/image.rst:233
msgid ""
"For :ref:`CogView4 <models_builtin_cogview4>`, we found that quantization "
"has a significant impact on the model. Therefore, when GPU memory is "
"limited, we recommend enabling the CPU offload option in the Web UI, and "
"specifying ``--cpu_offload True`` when loading the model via the command "
"line."
msgstr ""
"Para o :ref:`CogView4 <models_builtin_cogview4>`, descobrimos que a "
"quantização impacta significativamente o modelo. Portanto, quando a memória "
"da GPU é limitada, recomendamos ativar a opção de CPU offload na Web UI ou "
"especificar ``--cpu_offload True`` ao carregar o modelo pela linha de "
"comando."

#: ../../source/models/model_abilities/image.rst:238
msgid "GGUF file format"
msgstr "Formato de arquivo GGUF"

#: ../../source/models/model_abilities/image.rst:240
msgid ""
"GGUF file format for transformer provides various quantization options. To "
"use gguf file, you can specify additional option ``gguf_quantization`` for "
"web UI, or ``--gguf_quantization`` for command line for those image models "
"which support internally by Xinference. Below is the mode list."
msgstr ""
"O formato de arquivo GGUF oferece opções de quantização avançadas para o "
"módulo Transformer. Para usar um arquivo GGUF, você pode especificar a opção"
" adicional ``gguf_quantization`` na interface web, ou "
"``--gguf_quantization`` na linha de comando, a fim de habilitar a "
"quantização GGUF para modelos com suporte nativo no Xinference. A seguir "
"estão os modelos com suporte integrado."

#: ../../source/models/model_abilities/image.rst:246
msgid "supported gguf quantization"
msgstr "Suporta o formato de quantização GGUF"

#: ../../source/models/model_abilities/image.rst:248
#: ../../source/models/model_abilities/image.rst:250
msgid "F16, Q2_K, Q3_K_S, Q4_0, Q4_1, Q4_K_S, Q5_0, Q5_1, Q5_K_S, Q6_K, Q8_0"
msgstr ""

#: ../../source/models/model_abilities/image.rst:252
#: ../../source/models/model_abilities/image.rst:258
msgid ""
"F16, Q3_K_M, Q3_K_S, Q4_0, Q4_1, Q4_K_M, Q4_K_S, Q5_0, Q5_1, Q5_K_M, Q5_K_S,"
" Q6_K, Q8_0"
msgstr ""

#: ../../source/models/model_abilities/image.rst:254
#: ../../source/models/model_abilities/image.rst:256
msgid "F16, Q4_0, Q4_1, Q5_0, Q5_1, Q8_0"
msgstr ""

#: ../../source/models/model_abilities/image.rst:260
#: ../../source/models/model_abilities/image.rst:262
msgid ""
"Q2_K, Q3_K_M, Q3_K_S, Q4_0, Q4_1, Q4_K_M, Q4_K_S, Q5_0, Q5_1, Q5_K_M, "
"Q5_K_S, Q6_K, Q8_0"
msgstr ""

#: ../../source/models/model_abilities/image.rst:262
#: ../../source/models/model_abilities/image.rst:296
msgid "Qwen-Image-Edit-2509"
msgstr ""

#: ../../source/models/model_abilities/image.rst:267
msgid ""
"We stronly recommend to enable additional option ``cpu_offload`` with value "
"``True`` for WebUI, or specify ``--cpu_offload True`` for command line."
msgstr ""
"Recomendamos fortemente ativar a opção adicional ``cpu_offload`` na "
"interface WebUI e defini-la como ``True``, ou, na linha de comando, "
"especificar ``--cpu_offload True``."

#: ../../source/models/model_abilities/image.rst:270
msgid "Example:"
msgstr "Por exemplo:"

#: ../../source/models/model_abilities/image.rst:276
msgid ""
"With ``Q2_K`` quantization, you only need around 5 GiB GPU memory to run "
"Flux.1-dev."
msgstr ""
"Usando a quantização ``Q2_K``, você só precisa de aproximadamente 5 GB de "
"VRAM para executar o Flux.1-dev."

#: ../../source/models/model_abilities/image.rst:278
msgid ""
"For those models gguf options are not supported internally, or you want to "
"download gguf files on you own, you can specify additional option "
"``gguf_model_path`` for web UI or spcecify ``--gguf_model_path "
"/path/to/model_quant.gguf`` for command line."
msgstr ""
"Para modelos que não possuem suporte nativo à quantização GGUF, ou se você "
"deseja baixar manualmente o arquivo GGUF, você pode especificar a opção "
"adicional ``gguf_model_path`` na interface web ou usar o comando "
"``--gguf_model_path /caminho/para/modelo_quant.gguf`` na linha de comando."

#: ../../source/models/model_abilities/image.rst:283
msgid "Lightning LORA Support"
msgstr "Lightning LORA suporta"

#: ../../source/models/model_abilities/image.rst:285
msgid ""
"Lightning LORA performs distillation on models in the form of LoRA, reducing"
" the number of inference steps while maintaining model performance, and "
"significantly speeding up inference. The following models currently support "
"this LoRA:"
msgstr ""
"O Lightning LORA destila o modelo na forma de LoRA, mantendo o desempenho do"
" modelo enquanto reduz o número de etapas de inferência e aumenta "
"significativamente a velocidade de inferência. Os seguintes modelos "
"atualmente suportam esta LoRA:"

#: ../../source/models/model_abilities/image.rst:290
msgid "Supported lightning version"
msgstr "Versões do Lightning compatíveis"

#: ../../source/models/model_abilities/image.rst:292
msgid ""
"4steps-V1.0-bf16, 4steps-V1.0, 8steps-V1.0, 8steps-V1.1-bf16, 8steps-V1.1"
msgstr ""

#: ../../source/models/model_abilities/image.rst:294
msgid "4steps-V1.0-bf16, 4steps-V1.0, 8steps-V1.0-bf16, 8steps-V1.0"
msgstr ""

#: ../../source/models/model_abilities/image.rst:296
msgid "4steps-V1.0-bf16, 4steps-V1.0-fp32, 8steps-V1.0-bf16, 8steps-V1.0-fp32"
msgstr ""

#: ../../source/models/model_abilities/image.rst:299
msgid ""
"4 steps or 8 steps refer to the inference steps (``num_inference_steps``). "
"When ``lightning_version`` is specified, Xinference will automatically set "
"the number of inference steps."
msgstr ""
"4 passos ou 8 passos referem-se ao número de passos de inferência "
"(``num_inference_steps``). Quando ``lightning_version`` é especificado, o "
"Xinference define automaticamente os passos de inferência."

#: ../../source/models/model_abilities/image.rst:302
msgid ""
"When using it, select the lightning version in the interface, or specify it "
"via the command line."
msgstr ""
"Ao usar, você pode selecionar a versão lightning na interface ou especificá-"
"la via linha de comando."

#: ../../source/models/model_abilities/image.rst:308
msgid "Use the command line with ``--lightning_version <version>``."
msgstr "Na linha de comando, use ``--lightning_version <version>``."

#: ../../source/models/model_abilities/image.rst:310
msgid ""
"For those who have downloaded the lightning LoRA files themselves, you can "
"specify them via the Lightning Model Path in the interface or by using the "
"command line option ``--lightning_model_path``."
msgstr ""
"Para usuários que baixaram o arquivo LoRA lightning por conta própria, podem"
" especificá-lo na interface através do Lightning Model Path, ou usar o "
"parâmetro de linha de comando ``--lightning_model_path``."

#: ../../source/models/model_abilities/image.rst:313
msgid ""
"For example, using ``4steps-V1.0``, the inference time is reduced from the "
"original 34s to 3s."
msgstr ""
"Por exemplo, ao usar ``4steps-V1.0``, o tempo de inferência foi reduzido de "
"34 segundos para 3 segundos."

#: ../../source/models/model_abilities/image.rst:316
msgid "OCR"
msgstr ""

#: ../../source/models/model_abilities/image.rst:318
msgid "The OCR API accepts image bytes and returns the OCR text."
msgstr "A API OCR aceita bytes de imagem e retorna o texto OCR."

#: ../../source/models/model_abilities/image.rst:320
msgid "We can try OCR API out either via cURL, or Xinference's python client:"
msgstr ""
"Você pode testar a API de OCR usando cURL ou o cliente Python do Xinference."

#~ msgid "You can find more examples of Images API in the tutorial notebook:"
#~ msgstr ""
#~ "Você pode encontrar mais exemplos da API de Imagens no notebook do tutorial."

#~ msgid "Stable Diffusion ControlNet"
#~ msgstr ""

#~ msgid "Learn from a Stable Diffusion ControlNet example"
#~ msgstr "Aprenda um exemplo de rede de controle do Stable Diffusion"
