litellm/docs/my-website
Cole McIntosh b2080ec9af
feat: add input_fidelity parameter for OpenAI image generation (#12662)
* feat: add input_fidelity parameter for OpenAI image generation

- Add input_fidelity to OpenAIImageGenerationOptionalParams type
- Update image_generation function signature to accept input_fidelity
- Add input_fidelity to default_params in get_optional_params_image_gen
- Include input_fidelity in openai_params list for proper handling
- Update documentation with input_fidelity parameter description
- Add test for input_fidelity parameter functionality

This enables control over how closely the model follows the input prompt
for gpt-image-1 model, improving prompt adherence and image quality.

* feat: add input_fidelity to optional parameters for image generation

- Include input_fidelity in the list of OpenAIImageGenerationOptionalParams
- This addition enhances the flexibility of image generation by allowing control over input fidelity.

* test: enhance test for gpt-image-1 with input_fidelity parameter

- Update test_gpt_image_1_with_input_fidelity to include mocking of OpenAI response
- Validate that the OpenAI client is called with correct parameters, including input_fidelity
- Improve response validation to ensure expected output structure and values
2025-07-16 16:56:05 -07:00
..
docs feat: add input_fidelity parameter for OpenAI image generation (#12662) 2025-07-16 16:56:05 -07:00
img docs(admin_ui_sso.md): document /fallback/login flow 2025-07-16 09:07:42 -07:00
release_notes Updated release notes (#12594) 2025-07-14 17:03:11 -07:00
src docs(admin_ui_sso.md): document /fallback/login flow 2025-07-16 09:07:42 -07:00
static Litellm release notes 07 12 2025 (#12563) 2025-07-12 19:31:13 -07:00
.gitignore Inkeep searchbar and chat added to the Docs (#12030) 2025-06-26 10:13:42 -07:00
babel.config.js updating docs 2023-08-12 11:30:32 -07:00
Dockerfile fix docs warning (#7419) 2024-12-25 16:42:14 -08:00
docusaurus.config.js docs slack support 2025-06-30 10:57:10 -07:00
index.md fix keys 2023-08-17 16:13:52 -07:00
package-lock.json docs update 2025-06-26 15:32:33 -07:00
package.json Inkeep searchbar and chat added to the Docs (#12030) 2025-06-26 10:13:42 -07:00
README.md updating docs 2023-08-12 11:30:32 -07:00
sidebars.js Add GitHub Copilot LiteLLM tutorial (#12649) 2025-07-16 09:40:27 -07:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true yarn deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.