Getting Started

Using Your Own API Key (BYOK)

Bring your own OpenAI API key to Picify for unlimited AI generations.

4 min read

What is BYOK (Bring Your Own Key)

BYOK, or "Bring Your Own Key," is a feature that allows you to connect your personal OpenAI API key to Picify. Instead of using Picify credits for AI-powered features, your requests are sent directly to OpenAI using your own account, and you're billed directly by OpenAI based on your usage.

This option is ideal for power users, developers, and professionals who want unlimited access to AI features without purchasing credit packs or subscriptions.

How It Works

When you add your OpenAI API key to Picify:

  1. Your AI generation requests are sent directly to OpenAI's servers using your key.
  2. OpenAI processes the request and returns the result to Picify.
  3. OpenAI bills your account directly based on their published pricing.
  4. No Picify credits are used for these operations.
Important: BYOK only applies to AI generation features. Basic editing tools, compression, and format conversion remain free regardless of whether you use BYOK.

Getting an OpenAI API Key

To use BYOK, you'll need an API key from OpenAI. Here's how to get one:

Step 1: Create an OpenAI Account

If you don't already have an OpenAI account, visit platform.openai.com and sign up. You can use your email address or sign in with Google or Microsoft.

Step 2: Add Payment Method

OpenAI requires a payment method on file to use their API. Navigate to the Billing section in your OpenAI account and add a credit card or other accepted payment method.

You can also set up usage limits to control your spending. OpenAI allows you to set:

  • A hard limit that stops all API usage when reached
  • A soft limit that sends you an email notification

Step 3: Generate an API Key

  1. Go to the API Keys section in your OpenAI dashboard (under Settings).
  2. Click "Create new secret key".
  3. Give your key a descriptive name, like "Picify" so you can identify it later.
  4. Copy the key immediately. You won't be able to see it again after closing the dialog.
Best Practice: Create a dedicated API key just for Picify. This makes it easy to track usage and revoke access if needed without affecting other applications.

API Key Format

OpenAI API keys start with sk- followed by a long string of characters. For example: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

If your key doesn't match this format, make sure you're copying from the correct location in your OpenAI dashboard.

Adding Your Key to Picify

Once you have your OpenAI API key, adding it to Picify is simple:

Step 1: Open Settings

Sign in to your Picify account and navigate to your account settings. Look for the API Settings or BYOK section.

Step 2: Enter Your API Key

Paste your OpenAI API key into the designated field. Make sure to copy the entire key without any extra spaces before or after.

Step 3: Verify and Save

Click "Verify Key" to test that your key is valid and has the necessary permissions. If verification succeeds, click "Save"to enable BYOK for your account.

Step 4: Start Using BYOK

Once saved, any AI generation you perform will automatically use your OpenAI API key instead of Picify credits. You'll see a indicator in the interface confirming that BYOK is active.

Switching Back: You can disable BYOK at any time by removing your API key from the settings. Picify will then use your credit balance for AI features as usual.

Benefits of Using Your Own Key

There are several advantages to using BYOK instead of Picify credits:

Unlimited Generations

With your own API key, there's no credit limit to worry about. You can generate as many images as you need, limited only by your OpenAI account's rate limits and budget.

Pay-As-You-Go Pricing

OpenAI's API pricing is very competitive, and you only pay for exactly what you use. For high-volume users, this can be more cost-effective than purchasing credit packs.

Direct Billing

All charges go directly to your OpenAI account, making it easy to:

  • Track expenses for business or tax purposes
  • Set spending limits and budgets
  • View detailed usage analytics in OpenAI's dashboard

Access to Latest Models

When OpenAI releases new models or features, BYOK users often get access to them as soon as they're available in the API, without waiting for Picify to integrate them into the credit system.

Professional Use

For businesses and professionals, using your own API key provides:

  • Clearer cost attribution for client projects
  • Compliance with organizational policies about third-party services
  • Control over which OpenAI organization account is used

Security Considerations

Your API key is sensitive information that grants access to your OpenAI account. Here's how we protect it and what you should know:

How Picify Handles Your Key

  • Encrypted Storage: Your API key is encrypted at rest using industry-standard encryption. We never store keys in plain text.
  • Secure Transmission: Keys are transmitted only over HTTPS encrypted connections.
  • Limited Access: Your key is only used to make API calls on your behalf. We never share, sell, or use your key for any other purpose.
  • No Logging: We don't log your full API key in any system logs or analytics.

Best Practices for API Key Security

To keep your API key safe, follow these recommendations:

  • Use a dedicated key: Create a separate API key specifically for Picify, not one you use elsewhere.
  • Set spending limits: Configure usage limits in your OpenAI account to prevent unexpected charges.
  • Monitor usage: Regularly check your OpenAI dashboard for unusual activity.
  • Rotate periodically: Consider generating a new key occasionally and removing the old one.
  • Revoke if compromised: If you suspect your key has been compromised, delete it immediately from both OpenAI and Picify.

Revoking Access

You can revoke Picify's access to your OpenAI account at any time:

  1. Remove your API key from Picify's settings
  2. Delete the API key from your OpenAI dashboard

Once revoked, Picify will no longer be able to make API calls on your behalf. You'll need to use Picify credits or add a new API key to continue using AI features.

Security Tip: Enable email notifications in your OpenAI account to receive alerts about unusual usage patterns or when approaching your spending limits.

What to Do If Something Goes Wrong

If you notice unexpected charges or suspicious activity:

  1. Revoke the key immediately from your OpenAI dashboard.
  2. Review your usage logs in OpenAI to understand what happened.
  3. Contact OpenAI support if you believe there was unauthorized use.
  4. Generate a new key and update it in Picify if you want to continue using BYOK.

Related Topics

api keyBYOKOpenAI

Need more help?

Can't find what you're looking for? Our support team is here to help.