mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
Merge pull request #1450 from cmungall/patch-1
Fix minor typos in image_generation.md
This commit is contained in:
commit
d999fc794b
1 changed files with 3 additions and 3 deletions
|
@ -57,7 +57,7 @@ print(f"response: {response}")
|
||||||
|
|
||||||
- `api_type`: *string (optional)* - The type of API to use.
|
- `api_type`: *string (optional)* - The type of API to use.
|
||||||
|
|
||||||
### Output from `litellm.embedding()`
|
### Output from `litellm.image_generation()`
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ response = image_generation(model='dall-e-2', prompt="cute baby otter")
|
||||||
| Model Name | Function Call | Required OS Variables |
|
| Model Name | Function Call | Required OS Variables |
|
||||||
|----------------------|---------------------------------------------|--------------------------------------|
|
|----------------------|---------------------------------------------|--------------------------------------|
|
||||||
| dall-e-2 | `image_generation(model='dall-e-2', prompt="cute baby otter")` | `os.environ['OPENAI_API_KEY']` |
|
| dall-e-2 | `image_generation(model='dall-e-2', prompt="cute baby otter")` | `os.environ['OPENAI_API_KEY']` |
|
||||||
| dall-e-3 | `image_generation(model='dall-e-2', prompt="cute baby otter")` | `os.environ['OPENAI_API_KEY']` |
|
| dall-e-3 | `image_generation(model='dall-e-3', prompt="cute baby otter")` | `os.environ['OPENAI_API_KEY']` |
|
||||||
|
|
||||||
## Azure OpenAI Image Generation Models
|
## Azure OpenAI Image Generation Models
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue