Skip to content

Commit

Permalink
Merge pull request #1450 from cmungall/patch-1
Browse files Browse the repository at this point in the history
Fix minor typos in image_generation.md
  • Loading branch information
ishaan-jaff authored Jan 15, 2024
2 parents 6181b95 + 2bdd352 commit d999fc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/my-website/docs/image_generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ print(f"response: {response}")

- `api_type`: *string (optional)* - The type of API to use.

### Output from `litellm.embedding()`
### Output from `litellm.image_generation()`

```json

Expand Down Expand Up @@ -85,7 +85,7 @@ response = image_generation(model='dall-e-2', prompt="cute baby otter")
| 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-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

Expand Down Expand Up @@ -130,4 +130,4 @@ response = image_generation(
api_base="http://0.0.0.0:8000/" # set API Base of your Custom OpenAI Endpoint
prompt="cute baby otter"
)
```
```

0 comments on commit d999fc7

Please sign in to comment.