=== Voicgen – AI Text to Speech & Media Player ===
Contributors: voicgen
Tags: audio, text-to-speech, tts, accessibility, podcast
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically convert WordPress posts to audio with natural AI voices and embed a listenable player on your site.

== Description ==

Voicgen connects your WordPress site to [Voicgen](https://voicgen.io) to generate AI voiceovers from post content and display an audio player for your readers.

**Features**

* Auto-generate audio when posts are published or updated
* Embedded audio player (above/below content or via shortcode)
* Per-post controls to disable or regenerate audio
* Choose which post types use Voicgen
* Select a default voice from your Voicgen account

**Shortcode**

`[voicgen_player]` or `[voicgen_player post_id="123"]`

== Installation ==

1. Upload the `voicgen` folder to `/wp-content/plugins/` or install via the WordPress plugins screen.
2. Activate the plugin through the **Plugins** menu.
3. Go to **Settings → Voicgen** and enter your API key from the [Voicgen dashboard](https://app.voicgen.io/dashboard/api-keys).
4. Click **Test connection**, then **Save settings**.
5. Publish a post — audio generation starts automatically.

== Frequently Asked Questions ==

= Do I need a Voicgen account? =

Yes. Sign up at [voicgen.io](https://voicgen.io) and create an API key in your dashboard.

= What data is sent to Voicgen? =

When audio is generated, the plugin sends your post title, post content, post URL, site domain, and your API key to Voicgen servers (`api.voicgen.io`). The frontend player script is loaded from `cdn.voicgen.io`. See the Privacy section below.

= Can I disable audio for a single post? =

Yes. Use the **Voicgen Audio** meta box in the post editor and check **Disable audio for this post**.

== Privacy ==

This plugin connects to external Voicgen services:

* **API requests** to `https://api.voicgen.io/v1` — sends post title, content, URL, post ID, site domain, and your API key for audio generation and status checks.
* **Player script** loaded from `https://cdn.voicgen.io` on pages where the audio player is displayed.

No analytics or tracking code is added by this plugin beyond what is required to provide the Voicgen service. Review [Voicgen's privacy policy](https://voicgen.io/privacy) for how data is handled on their platform.

Your API key is stored in the WordPress options table on your server.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
