Claude
Skills
Sign in
โ† Back

gpt

Included with Lifetime
$97 forever

OpenAI GPT integration. Chat completions, image generation, embeddings, and fine-tuning via OpenAI API.

Image & Video

What this skill does


# GPT ๐Ÿค–

OpenAI GPT integration.

## Setup

```bash
export OPENAI_API_KEY="sk-..."
```

## Features

- Chat completions (GPT-4, GPT-4o)
- Image generation (DALL-E)
- Text embeddings
- Fine-tuning
- Assistants API

## Usage Examples

```
"Ask GPT: Explain quantum computing"
"Generate image of a sunset"
"Create embeddings for this text"
```

## API Reference

```bash
curl -s https://api.openai.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello"}]}'
```

Related in Image & Video